diff options
| author | Daniel Thompson <daniel@redfelineninja.org.uk> | 2020-03-26 20:42:03 (GMT) |
|---|---|---|
| committer | Daniel Thompson <daniel@redfelineninja.org.uk> | 2020-03-26 20:42:03 (GMT) |
| commit | a9413db5cf80c8ccf46782aeba8503371655d912 (patch) | |
| tree | a481b24e8c1c932d1712d734d747fcd983c332af /wasp/apps/clock.py | |
| parent | 9545e60f6242b6dad6a82eec4bb8f7e3c02a579a (diff) | |
wasp: Move the constants into seperate container classes
Diffstat (limited to 'wasp/apps/clock.py')
| -rw-r--r-- | wasp/apps/clock.py | 2 |
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 |
