summaryrefslogtreecommitdiffstats
path: root/module/plugins/Crypter.py
diff options
context:
space:
mode:
authorGravatar mkaay <mkaay@mkaay.de> 2011-02-07 23:19:56 +0100
committerGravatar mkaay <mkaay@mkaay.de> 2011-02-07 23:19:56 +0100
commit9d4bfccdeeb73dbdaea1508ca45527072b4579a0 (patch)
treecbdcf31de4f79b359555fcbdd0a29029618bce50 /module/plugins/Crypter.py
parentfileserv fix? (diff)
downloadpyload-9d4bfccdeeb73dbdaea1508ca45527072b4579a0.tar.xz
decrypter url encoding fix
Diffstat (limited to 'module/plugins/Crypter.py')
-rw-r--r--module/plugins/Crypter.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/module/plugins/Crypter.py b/module/plugins/Crypter.py
index ae8fef9e4..7ba739dc4 100644
--- a/module/plugins/Crypter.py
+++ b/module/plugins/Crypter.py
@@ -62,7 +62,9 @@ class Crypter(Plugin):
self.log.debug("Parsed package %(name)s with %(len)d links" % { "name" : pack[0], "len" : len(pack[1]) } )
- pid = self.core.server_methods.add_package(pack[0], pack[1], self.pyfile.package().queue)
+ links = [x.decode("utf-8") for x in pack[1]]
+
+ pid = self.core.server_methods.add_package(pack[0], links, self.pyfile.package().queue)
if self.pyfile.package().password:
self.core.server_methods.set_package_data(pid, {"password": self.pyfile.package().password})