summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--tests/HosterPluginTester.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/HosterPluginTester.py b/tests/HosterPluginTester.py
index f4d2c4dc4..b985c6687 100644
--- a/tests/HosterPluginTester.py
+++ b/tests/HosterPluginTester.py
@@ -15,7 +15,7 @@ from helper.PluginTester import PluginTester
from module.PyFile import PyFile
from module.plugins.Base import Fail
from module.utils import accumulate
-from module.utils.fs import save_join, join, exists, listdir, remove, stat
+from module.utils.fs import save_join, join, exists, listdir, remove, stat, fs_encode
DL_DIR = join("Downloads", "tmp")
@@ -77,7 +77,7 @@ class HosterPluginTester(PluginTester):
size = stat(f.name).st_size
if size < 1024 * 1024 * 10: # 10MB
# Copy for debug report
- move(f.name, join("tmp", plugin, f.name))
+ move(fs_encode(f.name), fs_encode(join("tmp", plugin, f.name)))
raise Exception("Hash does not match.")