diff options
author | RaNaN <Mast3rRaNaN@hotmail.de> | 2011-05-14 17:12:50 +0200 |
---|---|---|
committer | RaNaN <Mast3rRaNaN@hotmail.de> | 2011-05-14 17:12:50 +0200 |
commit | dde95f44ab23fa58127f7e1071211f4caa2087cd (patch) | |
tree | 60858284e5d50057f785eb5f79cf11a1ce991833 | |
parent | allow remote rsdf on linksave.in #310 (diff) | |
download | pyload-dde95f44ab23fa58127f7e1071211f4caa2087cd.tar.xz |
fix dlc upload
-rw-r--r-- | module/web/json_app.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/module/web/json_app.py b/module/web/json_app.py index 9cf1d236d..7a6baffd8 100644 --- a/module/web/json_app.py +++ b/module/web/json_app.py @@ -2,7 +2,7 @@ # -*- coding: utf-8 -*- import base64 -#from os.path import join, exists +from os.path import join, exists from traceback import print_exc from shutil import copyfileobj @@ -228,7 +228,7 @@ def link_order(ids): def add_package(): name = request.forms.get("add_name", "New Package").strip() queue = int(request.forms['add_dest']) - links = request.forms['add_links'].decode("utf8", "ignore") + links = decode(request.forms['add_links']) links = links.split("\n") pw = request.forms.get("add_password", "").strip("\n\r") |