We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0c7e955 commit b8683c7Copy full SHA for b8683c7
framework/event.py
@@ -31,8 +31,9 @@ def __str__(self):
31
tmp = value
32
# check for recursivity
33
recursive = False
34
- if hasattr(value, '__getitem__'):
35
- if (len(value)>0 and value[0].__class__ == value.__class__):
+ if hasattr(value, '__getitem__') and \
+ not isinstance(value, collections.Mapping) and \
36
+ (len(value)>0 and value[0].__class__ == value.__class__):
37
recursive = True
38
if isinstance( value, collections.Iterable ) and \
39
not isinstance(value, (str,unicode)) and \
0 commit comments