diff options
| -rw-r--r-- | wasp/wasp.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/wasp/wasp.py b/wasp/wasp.py index 155fded..541807f 100644 --- a/wasp/wasp.py +++ b/wasp/wasp.py @@ -144,6 +144,8 @@ class Manager(): self._scheduling = False def secondary_init(self): + global free + if not self.app: # Register default apps if main hasn't put anything on the quick ring if not self.quick_ring: @@ -242,8 +244,6 @@ class Manager(): def switch(self, app): """Switch to the requested application. """ - global free - if self.app: if 'background' in dir(self.app): try: |
