From dde95f44ab23fa58127f7e1071211f4caa2087cd Mon Sep 17 00:00:00 2001 From: RaNaN Date: Sat, 14 May 2011 17:12:50 +0200 Subject: fix dlc upload --- module/web/json_app.py | 4 ++-- 1 file 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") -- cgit v1.2.3