Prevent an error in @ps being used before the events have triggered the first time.
This commit is contained in:
parent
5a465746c5
commit
eb2608ffd2
2 changed files with 8 additions and 7 deletions
|
|
@ -9,13 +9,6 @@ ADDING AN EVENT:
|
|||
|
||||
# List of IntervalEvent sub-classed objects.
|
||||
schedule = []
|
||||
|
||||
def start_events():
|
||||
"""
|
||||
Start the event system, which is built on Twisted's framework.
|
||||
"""
|
||||
for event in schedule:
|
||||
event.start_event_loop()
|
||||
|
||||
def add_event(event):
|
||||
"""
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue