From bf27f1e3515ee5898cc4f3210e6796a2aed9c9c6 Mon Sep 17 00:00:00 2001 From: ChristianRomberg Date: Thu, 7 Jan 2021 10:46:35 +0100 Subject: [PATCH] system: Fix app unregister function Replace undefined 'instanceof' with 'isinstance' Signed-off-by: Christian Romberg --- wasp/wasp.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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