From 3de98e43da6bc9bcf323ab258a0c1d0d046009e3 Mon Sep 17 00:00:00 2001 From: zoidberg10 Date: Mon, 16 Jan 2012 23:28:47 +0100 Subject: hosterlinks - fix md5 hash --- tests/HosterPluginTester.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests/HosterPluginTester.py') 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 -- cgit v1.2.3