1
0
mirror of http://aero2k.de/t/repos/urlbot-native.git synced 2017-09-06 15:25:38 +02:00

whitespace and import fixes

This commit is contained in:
Thorsten
2016-04-05 18:40:31 +02:00
parent c6baf3cf60
commit 550fa44f42
15 changed files with 43 additions and 37 deletions

View File

@@ -7,6 +7,7 @@ EVENTLOOP_DELAY = 0.100 # seconds
event_list = sched.scheduler(time.time, time.sleep)
def register_active_event(t, callback, args, action_runner, plugin, msg_obj):
"""
Execute a callback at a given time and react on the output
@@ -31,9 +32,6 @@ def register_event(t, callback, args):
class EventLoop(threading.Thread):
#def __init__(self):
# threading.Thread.__init__(self)
def run(self):
while 1:
event_list.run(False)