diff --git a/brathuhn.py b/brathuhn.py index 7ba28fe..1666d06 100644 --- a/brathuhn.py +++ b/brathuhn.py @@ -1,4 +1,5 @@ import xmpp, os, sys, time, traceback +import threading from config import * @@ -257,7 +258,7 @@ def loop(): print "---------------------------" def callAt(func,_time,*args): - s=time.time()-_time + s=_time-time.time() def run(): if s>0: time.sleep(s)