From 14d636d098cb9061c413336ff4f47caac0c54fea Mon Sep 17 00:00:00 2001 From: Ruud Date: Sun, 5 Oct 2014 18:46:44 +0200 Subject: [PATCH] Return image filepath in unicode --- couchpotato/core/media/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/couchpotato/core/media/__init__.py b/couchpotato/core/media/__init__.py index 549ed0d7..7a178b85 100755 --- a/couchpotato/core/media/__init__.py +++ b/couchpotato/core/media/__init__.py @@ -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