summaryrefslogtreecommitdiffstats
path: root/tests/HosterPluginTester.py
diff options
context:
space:
mode:
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