From 4b510b76b950a87213288769d595fe3c65fb8573 Mon Sep 17 00:00:00 2001 From: Stefan Krulj Date: Sat, 6 Oct 2012 14:19:13 +0200 Subject: [PATCH] callAt fixed --- brathuhn.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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)