diff options
author | RaNaN <Mast3rRaNaN@hotmail.de> | 2013-12-01 00:08:11 +0100 |
---|---|---|
committer | RaNaN <Mast3rRaNaN@hotmail.de> | 2013-12-01 00:08:11 +0100 |
commit | 95270599f2a0d0042c75f63f30a3e013849439f7 (patch) | |
tree | ced2dc611ed51e43251b980e2a1578fe90674858 /pyload/utils | |
parent | Updated translations (diff) | |
download | pyload-95270599f2a0d0042c75f63f30a3e013849439f7.tar.xz |
fixed are few addons and improved crypter workarounds
Diffstat (limited to 'pyload/utils')
-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 577213dd1..09fb76229 100644 --- a/pyload/utils/__init__.py +++ b/pyload/utils/__init__.py @@ -64,7 +64,7 @@ def compare_time(start, end): else: return False def to_list(value): - return value if type(value) == list else ([value] if value is not None else []) + return value if type(value) == list else list(value) if type(value) == set else ([value] if value is not None else []) def formatSize(size): print "Deprecated formatSize, use format_size" |