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 f9ca74e5f..23e9507f1 100644
--- a/tests/HosterPluginTester.py
+++ b/tests/HosterPluginTester.py
@@ -6,6 +6,7 @@ from logging import log, DEBUG
from hashlib import md5
from time import time
from shutil import move
+import codecs
from nose.tools import nottest
@@ -95,7 +96,7 @@ class HosterPluginTester(PluginTester):
c = Core()
-f = open(join(dirname(__file__), "hosterlinks.txt"))
+f = codecs.open(join(dirname(__file__), "hosterlinks.txt"), "r", "utf_8")
links = [x.strip() for x in f.readlines()]
urls = []
flags = {}