summaryrefslogtreecommitdiff
path: root/wasp/apps
diff options
context:
space:
mode:
authorDaniel Thompson <daniel@redfelineninja.org.uk>2020-04-20 17:58:21 (GMT)
committerDaniel Thompson <daniel@redfelineninja.org.uk>2020-04-26 14:01:48 (GMT)
commit8b2ba4e79c56594a74e2c41b23e7f09027e26f11 (patch)
treea996119968a2035e16135c8979b2ede1f4d811eb /wasp/apps
parente8549982683bb31b3d8dd27a0dda37131319e77d (diff)
apps: launcher: Make app.ICON optional
Diffstat (limited to 'wasp/apps')
-rw-r--r--wasp/apps/launcher.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/wasp/apps/launcher.py b/wasp/apps/launcher.py
index 071a90c..37e7ca7 100644
--- a/wasp/apps/launcher.py
+++ b/wasp/apps/launcher.py
@@ -66,7 +66,7 @@ class LauncherApp():
if not app:
return
draw.set_color(0xffff)
- draw.blit(app.ICON, x+13, y+12)
+ draw.blit(app.ICON if 'ICON' in dir(app) else icons.app, x+13, y+12)
draw.set_color(0xbdb6)
draw.string(app.NAME, x, y+120-30, 120)