diff --git a/brathuhn.py b/brathuhn.py index ce7ca92..52547ab 100644 --- a/brathuhn.py +++ b/brathuhn.py @@ -281,7 +281,7 @@ def callAt(func,_time,*args): global call_ats_id call_ats[call_ats_id]=[func,_time,args] call_ats_id+=1 - return call_ats_id + return call_ats_id-1 def cancelCall(cid): """Remove the call from the list of pending calls