Six import

This commit is contained in:
Ruud committed 2014-10-06 23:01:47 +02:00
1 parent e1eb68e226
commit 6c2aef7a6d
7 files changed
+12 -8

No files matched your search

+1 -1
View File
@@ -89,7 +89,7 @@ class MediaBase(Plugin):
# Loop over type
for image in image_urls.get(image_type, []):
if not isinstance(image, (str, unicode)):
if not isinstance(image, six.string_types):
continue
if file_type not in existing_files or len(existing_files.get(file_type, [])) == 0: