Fixed an off-by-one error

master
Stefan Krulj 14 years ago
parent 504f5f6fbf
commit 2ec8f7767e
  1. 2
      brathuhn.py

@ -281,7 +281,7 @@ def callAt(func,_time,*args):
global call_ats_id global call_ats_id
call_ats[call_ats_id]=[func,_time,args] call_ats[call_ats_id]=[func,_time,args]
call_ats_id+=1 call_ats_id+=1
return call_ats_id return call_ats_id-1
def cancelCall(cid): def cancelCall(cid):
"""Remove the call from the list of pending calls """Remove the call from the list of pending calls

Loading…
Cancel
Save