diff options
Diffstat (limited to 'xlib.py')
-rw-r--r-- | xlib.py | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -66,7 +66,7 @@ class Listener(Thread): # Create a reveverse dictionnary for getting the users added first
# In python, the elements in a dictionnary are sorted by insertion
# order, so we get the user added first here
- for pattern in reversed(self.mapping):
+ for pattern in reversed(self.mapping.keys()):
# Ignore the default layout
if pattern == "default":
continue
|