diff -r 60ead38a61af -r da291d9426ea cobalt.py --- a/cobalt.py Mon Nov 17 22:25:18 2014 +0200 +++ b/cobalt.py Sat Nov 29 05:04:07 2014 +0200 @@ -37,6 +37,7 @@ import hgpoll as HgPoll import bt as Bt import irc as Irc +import rest as Rest if __name__ != '__main__': raise ImportError ('cobalt may not be imported as a module') @@ -103,6 +104,9 @@ else: raise ValueError ("unknown autoconnect entry %s" % (aconn)) + # Start the REST server + Rest.RESTServer() + g_BotActive = True asyncore.loop() except KeyboardInterrupt: @@ -113,4 +117,4 @@ excepterm (e.message) if __name__ == '__main__': - main() \ No newline at end of file + main()