Code cleanup and new sun set transition

This commit is contained in:
Paulus Schoutsen committed 2013-09-20 19:29:15 -07:00
1 parent 9732bf99ac
commit 5f4ddfe92c
4 files changed
+50 -38

No files matched your search

+2 -2
View File
@@ -39,7 +39,7 @@ class Timer(threading.Thread):
break
def track_time_change(eventBus, action, year='*', month='*', day='*', hour='*', minute='*', second='*', point_in_time=None, listen_once=False):
def track_time_change(eventbus, action, year='*', month='*', day='*', hour='*', minute='*', second='*', point_in_time=None, listen_once=False):
year, month, day = ensure_list(year), ensure_list(month), ensure_list(day)
hour, minute, second = ensure_list(hour), ensure_list(minute), ensure_list(second)
@@ -60,4 +60,4 @@ def track_time_change(eventBus, action, year='*', month='*', day='*', hour='*',
action(event.data['now'])
eventBus.listen(EVENT_TIME_CHANGED, listener)
eventbus.listen(EVENT_TIME_CHANGED, listener)