summaryrefslogtreecommitdiffstats
path: root/tests/HosterPluginTester.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/HosterPluginTester.py')
-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.")