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.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/wasp/apps/clock.py b/wasp/apps/clock.py
index 9225cc9..c9099be 100644
--- a/wasp/apps/clock.py
+++ b/wasp/apps/clock.py
@@ -29,10 +29,10 @@ class ClockApp():
def __init__(self):
self.meter = wasp.widgets.BatteryMeter()
- def foreground(self, effect=None):
+ def foreground(self):
"""Activate the application."""
self.on_screen = ( -1, -1, -1, -1, -1, -1 )
- self.draw(effect)
+ self.draw()
wasp.system.request_tick(1000)
def tick(self, ticks):
@@ -48,7 +48,7 @@ class ClockApp():
def wake(self):
self.update()
- def draw(self, effect=None):
+ def draw(self):
"""Redraw the display from scratch."""
draw = wasp.watch.drawable