diff options
author | 2014-11-20 02:21:11 +0100 | |
---|---|---|
committer | 2014-11-20 02:21:11 +0100 | |
commit | 9cef773c96f48f31d0c021578ab9bc47e9b3acdc (patch) | |
tree | 8b701dea430a55ef17d818436d2f973fb3a1b6a1 /pyload/plugins/internal | |
parent | Convert tabs to 4-whitespaces (diff) | |
download | pyload-9cef773c96f48f31d0c021578ab9bc47e9b3acdc.tar.xz |
Use utils encode/decode
Diffstat (limited to 'pyload/plugins/internal')
-rw-r--r-- | pyload/plugins/internal/Crypter.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/pyload/plugins/internal/Crypter.py b/pyload/plugins/internal/Crypter.py index 2bd9328c0..76880ca14 100644 --- a/pyload/plugins/internal/Crypter.py +++ b/pyload/plugins/internal/Crypter.py @@ -3,7 +3,7 @@ from urlparse import urlparse from pyload.plugins.Plugin import Plugin -from pyload.utils import html_unescape, save_filename +from pyload.utils import decode, html_unescape, save_filename class Crypter(Plugin): @@ -82,7 +82,7 @@ class Crypter(Plugin): "%d links" % len(links), "Saved to folder: %s" % folder if folder else "Saved to download folder") - links = map(lambda x: x.decode("utf-8"), links) + links = map(decode, links) pid = self.core.api.addPackage(name, links, package_queue) |