diff options
| author | ChristianRomberg <distjubo@gmail.com> | 2021-01-07 09:46:35 (GMT) |
|---|---|---|
| committer | Daniel Thompson <daniel@redfelineninja.org.uk> | 2021-01-12 19:11:57 (GMT) |
| commit | bf27f1e3515ee5898cc4f3210e6796a2aed9c9c6 (patch) | |
| tree | 32f9fddcbc0bc22fbc7c529f30deaf0ba77a5e29 /wasp | |
| parent | 62288cc81e0762066d5753a0ab95ee8266f19d0f (diff) | |
system: Fix app unregister function
Replace undefined 'instanceof' with 'isinstance'
Signed-off-by: Christian Romberg <distjubo@gmail.com>
Diffstat (limited to 'wasp')
| -rw-r--r-- | wasp/wasp.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/wasp/wasp.py b/wasp/wasp.py index c9f40db..a78f5da 100644 --- a/wasp/wasp.py +++ b/wasp/wasp.py @@ -176,7 +176,7 @@ class Manager(): def unregister(self, cls): for app in self.launcher_ring: - if instanceof(app, cls): + if isinstance(app, cls): self.launcher_ring.remove(app) break |
