Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--purk/windows.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/purk/windows.py b/purk/windows.py
index 26064f9..2e3c1fa 100644
--- a/purk/windows.py
+++ b/purk/windows.py
@@ -31,7 +31,7 @@ def get(windowclass, network, id, core):
id = network.norm_case(id)
for w in core.manager:
- if (type(w), w.network, w.id) == (windowclass, network, id):
+ if (type(w).__name__, w.network, w.id) == (windowclass.__name__, network, id):
return w
def get_with(manager, wclass=None, network=None, id=None):