diff options
author | RaNaN <Mast3rRaNaN@hotmail.de> | 2011-03-18 13:17:48 +0100 |
---|---|---|
committer | RaNaN <Mast3rRaNaN@hotmail.de> | 2011-03-18 13:17:48 +0100 |
commit | a2bea3c617e53fb06383d5dfa247bf59c90e0b9a (patch) | |
tree | 74487315edf54be1e7452e7542129e577660c0a0 /module/plugins/Plugin.py | |
parent | closed #254 (diff) | |
download | pyload-a2bea3c617e53fb06383d5dfa247bf59c90e0b9a.tar.xz |
fixes netload
Diffstat (limited to 'module/plugins/Plugin.py')
-rw-r--r-- | module/plugins/Plugin.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/module/plugins/Plugin.py b/module/plugins/Plugin.py index 1bac92e55..8d9d8b35d 100644 --- a/module/plugins/Plugin.py +++ b/module/plugins/Plugin.py @@ -37,7 +37,7 @@ if os.name != "nt": from itertools import islice -from module.utils import save_join +from module.utils import save_join, decode def chunks(iterable, size): it = iter(iterable) @@ -304,7 +304,7 @@ class Plugin(object): if utf8: #@TODO parse header and decode automatically when needed - res = res.decode("utf8", "replace") + res = decode(res) if self.core.debug: |