Return image filepath in unicode

This commit is contained in:
Ruud
2014-10-05 18:46:44 +02:00
parent e1d4df7937
commit 14d636d098

View File

@@ -95,7 +95,7 @@ class MediaBase(Plugin):
if file_type not in existing_files or len(existing_files.get(file_type, [])) == 0:
file_path = fireEvent('file.download', url = image, single = True)
if file_path:
existing_files[file_type] = [file_path]
existing_files[file_type] = [toUnicode(file_path)]
break
else:
break