From efc86bbe3e6a97193f061c79f036b9997cadc678 Mon Sep 17 00:00:00 2001 From: RaNaN Date: Mon, 16 Jan 2012 21:41:22 +0100 Subject: last fs encoding fix for today --- tests/HosterPluginTester.py | 4 ++-- 1 file 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.") -- cgit v1.2.3