fix to scheduler.py

This commit is contained in:
Rushabh Mehta 2011-08-05 13:04:00 +05:30
parent 71761d009a
commit b113599ed2

View file

@ -138,7 +138,7 @@ class Scheduler:
# if recurring, update next_execution
if e['recurring']:
self.conn.sql("update Event set next_execution = addtime(now(), sec_to_time(%s)) where event=%s", (e['interval'], e['event'])
self.conn.sql("update Event set next_execution = addtime(now(), sec_to_time(%s)) where event=%s", (e['interval'], e['event']))
# else clear
else: