Py3 fixes

This commit is contained in:
Ruud
2014-10-06 23:02:30 +02:00
parent 6c2aef7a6d
commit ac8dbe03b2
5 changed files with 11 additions and 8 deletions
+2 -2
View File
@@ -3,7 +3,7 @@ from threading import Thread
import json
import threading
import traceback
import urllib
from six.moves import urllib
from couchpotato.core.helpers.request import getParams
from couchpotato.core.logger import CPLog
@@ -102,7 +102,7 @@ class ApiHandler(RequestHandler):
kwargs = {}
for x in self.request.arguments:
kwargs[x] = urllib.unquote(self.get_argument(x))
kwargs[x] = urllib.parse.unquote(self.get_argument(x))
# Split array arguments
kwargs = getParams(kwargs)