summaryrefslogtreecommitdiff
path: root/wasp/apps/clock.py
diff options
context:
space:
mode:
authorDaniel Thompson <daniel@redfelineninja.org.uk>2020-03-27 20:09:28 (GMT)
committerDaniel Thompson <daniel@redfelineninja.org.uk>2020-04-06 21:04:20 (GMT)
commitd10f3dbc49f07e626debe495b3cd9fc9c4b31c93 (patch)
treeb83759cd0c5e05c4d2f23183d5a94ef929ffeb9e /wasp/apps/clock.py
parent0ac2321e8287be908bc6684696568993591914a7 (diff)
wasp: Get the terminology straight
As it turned out Direction was only a Direction because there were things missing from the enumeration!
Diffstat (limited to 'wasp/apps/clock.py')
-rw-r--r--wasp/apps/clock.py8
1 files changed, 0 insertions, 8 deletions
diff --git a/wasp/apps/clock.py b/wasp/apps/clock.py
index 3292120..9225cc9 100644
--- a/wasp/apps/clock.py
+++ b/wasp/apps/clock.py
@@ -29,14 +29,6 @@ class ClockApp():
def __init__(self):
self.meter = wasp.widgets.BatteryMeter()
- def handle_event(self, event_view):
- """Process events that the app is subscribed to."""
- if event_view[0] == wasp.Event.TICK:
- self.update()
- else:
- # TODO: Raise an unexpected event exception
- pass
-
def foreground(self, effect=None):
"""Activate the application."""
self.on_screen = ( -1, -1, -1, -1, -1, -1 )