Return image filepath in unicode
This commit is contained in:
1 parent
e1d4df7937
commit
14d636d098
1 file changed
+1
-1
@@ -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
|
||||
Reference in new issue
Block a user