diff options
author | RaNaN <Mast3rRaNaN@hotmail.de> | 2012-01-16 21:41:22 +0100 |
---|---|---|
committer | RaNaN <Mast3rRaNaN@hotmail.de> | 2012-01-16 21:41:22 +0100 |
commit | efc86bbe3e6a97193f061c79f036b9997cadc678 (patch) | |
tree | b5eb75abce8efa3cbe7bf004ad38e4c141dcb3b8 | |
parent | add os.stat before moveing dl (diff) | |
download | pyload-efc86bbe3e6a97193f061c79f036b9997cadc678.tar.xz |
last fs encoding fix for today
-rw-r--r-- | tests/HosterPluginTester.py | 4 |
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.") |