diff options
author | mkaay <mkaay@mkaay.de> | 2011-02-07 23:19:56 +0100 |
---|---|---|
committer | mkaay <mkaay@mkaay.de> | 2011-02-07 23:19:56 +0100 |
commit | 9d4bfccdeeb73dbdaea1508ca45527072b4579a0 (patch) | |
tree | cbdcf31de4f79b359555fcbdd0a29029618bce50 /module | |
parent | fileserv fix? (diff) | |
download | pyload-9d4bfccdeeb73dbdaea1508ca45527072b4579a0.tar.xz |
decrypter url encoding fix
Diffstat (limited to 'module')
-rw-r--r-- | module/plugins/Crypter.py | 4 |
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}) |