summaryrefslogtreecommitdiff
path: root/wasp/apps
diff options
context:
space:
mode:
Diffstat (limited to 'wasp/apps')
-rw-r--r--wasp/apps/software.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/wasp/apps/software.py b/wasp/apps/software.py
index 2c7869c..a39cce0 100644
--- a/wasp/apps/software.py
+++ b/wasp/apps/software.py
@@ -63,8 +63,7 @@ class SoftwareApp():
if checkbox.touch(event):
label = checkbox.label.replace(' ', '')
if checkbox.state:
- exec('import apps.{}'.format(module))
- exec('wasp.system.register(apps.{}.{}App())'.format(module, label))
+ wasp.system.register('apps.{}.{}App'.format(module, label))
else:
for app in wasp.system.launcher_ring:
if type(app).__name__.startswith(label):