system: Fix app unregister function

Replace undefined 'instanceof' with 'isinstance'

Signed-off-by: Christian Romberg <distjubo@gmail.com>
This commit is contained in:
ChristianRomberg 2021-01-07 10:46:35 +01:00 committed by Daniel Thompson
parent 62288cc81e
commit bf27f1e351

View file

@ -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