diff options
Diffstat (limited to 'pyload/utils/__init__.py')
-rw-r--r-- | pyload/utils/__init__.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pyload/utils/__init__.py b/pyload/utils/__init__.py index bc4e27df4..1655be857 100644 --- a/pyload/utils/__init__.py +++ b/pyload/utils/__init__.py @@ -197,7 +197,7 @@ def has_method(obj, name): def accumulate(it, inv_map=None): """ accumulate (key, value) data to {value : [keylist]} dictionary """ - if not inv_map: + if inv_map is None: inv_map = {} for key, value in it: |