summaryrefslogtreecommitdiffstats
path: root/pyload/utils/__init__.py
diff options
context:
space:
mode:
Diffstat (limited to 'pyload/utils/__init__.py')
-rw-r--r--pyload/utils/__init__.py2
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"