diff options
Diffstat (limited to 'wasp/wasp.py')
| -rw-r--r-- | wasp/wasp.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/wasp/wasp.py b/wasp/wasp.py index 79f706c..c9f40db 100644 --- a/wasp/wasp.py +++ b/wasp/wasp.py @@ -164,6 +164,10 @@ class Manager(): :param object app: The application to regsister """ + if isinstance(app, str): + exec('import ' + app[:app.rindex('.')]) + app = eval(app + '()') + if quick_ring == True: self.quick_ring.append(app) else: |
