diff options
author | 2012-01-16 20:51:02 +0100 | |
---|---|---|
committer | 2012-01-16 20:51:02 +0100 | |
commit | 20c318d1a95fe5dd33ca179c6a9e7787ab0c7e24 (patch) | |
tree | 8b252f30b6fd1555a1050cf957eeaf57ac788c30 /tests/HosterPluginTester.py | |
parent | Merge (diff) | |
download | pyload-20c318d1a95fe5dd33ca179c6a9e7787ab0c7e24.tar.xz |
hosterlinks.txt - little fix
Diffstat (limited to 'tests/HosterPluginTester.py')
-rw-r--r-- | tests/HosterPluginTester.py | 3 |
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 = {} |