system: Fix app unregister function
Replace undefined 'instanceof' with 'isinstance' Signed-off-by: Christian Romberg <distjubo@gmail.com>
This commit is contained in:
parent
62288cc81e
commit
bf27f1e351
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in a new issue