summaryrefslogtreecommitdiff
path: root/wasp/apps/clock.py
diff options
context:
space:
mode:
Diffstat (limited to 'wasp/apps/clock.py')
-rw-r--r--wasp/apps/clock.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/wasp/apps/clock.py b/wasp/apps/clock.py
index bc612b2..3292120 100644
--- a/wasp/apps/clock.py
+++ b/wasp/apps/clock.py
@@ -31,7 +31,7 @@ class ClockApp():
def handle_event(self, event_view):
"""Process events that the app is subscribed to."""
- if event_view[0] == wasp.EVENT_TICK:
+ if event_view[0] == wasp.Event.TICK:
self.update()
else:
# TODO: Raise an unexpected event exception