summaryrefslogtreecommitdiffstats
path: root/tests/HosterPluginTester.py
diff options
context:
space:
mode:
authorGravatar zoidberg10 <zoidberg@mujmail.cz> 2012-01-16 23:28:47 +0100
committerGravatar zoidberg10 <zoidberg@mujmail.cz> 2012-01-16 23:28:47 +0100
commit3de98e43da6bc9bcf323ab258a0c1d0d046009e3 (patch)
tree09a394ca2fb915f0689dbb321e8c01fc09ff2a1f /tests/HosterPluginTester.py
parentlast fs encoding fix for today (diff)
downloadpyload-3de98e43da6bc9bcf323ab258a0c1d0d046009e3.tar.xz
hosterlinks - fix md5 hash
Diffstat (limited to 'tests/HosterPluginTester.py')
-rw-r--r--tests/HosterPluginTester.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/HosterPluginTester.py b/tests/HosterPluginTester.py
index b985c6687..ad71be0d2 100644
--- a/tests/HosterPluginTester.py
+++ b/tests/HosterPluginTester.py
@@ -64,7 +64,7 @@ class HosterPluginTester(PluginTester):
raise Exception("File %s does not exists." % pyfile.name)
hash = md5()
- f = open(save_join(DL_DIR, pyfile.name))
+ f = open(save_join(DL_DIR, pyfile.name), "rb")
while True:
buf = f.read(4096)
if not buf: break