fix uptime (moved to runtime config)

This commit is contained in:
Thorsten S
2015-12-21 00:12:10 +01:00
parent b727a631f3
commit 8368589950
3 changed files with 3 additions and 3 deletions

View File

@@ -95,6 +95,8 @@ def start(botclass, active=False):
bot.register_plugin('xep_0045')
bot.process()
config.runtimeconf_set('start_time', -time.time())
while 1:
try:
# print("hangup: %s" % got_hangup)