Some documentation fixups that I noticed off-hand.
This commit is contained in:
parent
a523f845d1
commit
88dcdc95eb
3 changed files with 7 additions and 5 deletions
|
|
@ -2,6 +2,8 @@ import time
|
|||
from twisted.internet import task
|
||||
import events
|
||||
"""
|
||||
This file contains the event scheduler system.
|
||||
|
||||
ADDING AN EVENT:
|
||||
* Create an event function to call.
|
||||
* Add an entry to the 'schedule' dictionary here.
|
||||
|
|
@ -11,7 +13,7 @@ ADDING AN EVENT:
|
|||
# Dictionary of events with a list in the form of:
|
||||
# [<function>, <interval>, <lastrantime>, <taskobject>, <description>]
|
||||
schedule = {
|
||||
'check_sessions': [events.check_sessions, 60, time.time(), None, "Session consistency checks."]
|
||||
'evt_check_sessions': [events.evt_check_sessions, 60, time.time(), None, "Session consistency checks."]
|
||||
}
|
||||
|
||||
def start_events():
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue