summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar RaNaN <Mast3rRaNaN@hotmail.de> 2012-02-05 23:04:43 +0100
committerGravatar RaNaN <Mast3rRaNaN@hotmail.de> 2012-02-05 23:04:43 +0100
commit88fde2ec4ac9f2501ed78e5c994c861c8159af31 (patch)
tree5b7aee773b188315ca3ddee1d29203a6bd3ffa2a
parentoption for internal plugins (diff)
downloadpyload-88fde2ec4ac9f2501ed78e5c994c861c8159af31.tar.xz
fix in hoster tester
-rw-r--r--tests/HosterPluginTester.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/HosterPluginTester.py b/tests/HosterPluginTester.py
index f8a400c6d..8299e362a 100644
--- a/tests/HosterPluginTester.py
+++ b/tests/HosterPluginTester.py
@@ -77,7 +77,8 @@ class HosterPluginTester(PluginTester):
size = stat(f.name).st_size
if size < 1024 * 1024 * 10: # 10MB
# Copy for debug report
- move(fs_encode(f.name), fs_encode(join("tmp", plugin, f.name)))
+ log(DEBUG, "Downloaded file copied to report")
+ move(f.name, join("tmp", plugin, f.name))
raise Exception("Hash does not match.")