summaryrefslogtreecommitdiffstats
path: root/pyload/webui/app/pyloadweb.py
diff options
context:
space:
mode:
Diffstat (limited to 'pyload/webui/app/pyloadweb.py')
-rw-r--r--pyload/webui/app/pyloadweb.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/pyload/webui/app/pyloadweb.py b/pyload/webui/app/pyloadweb.py
index 8ce9f2f74..316717b26 100644
--- a/pyload/webui/app/pyloadweb.py
+++ b/pyload/webui/app/pyloadweb.py
@@ -4,11 +4,11 @@
import os
import sys
import time
+import urllib
from datetime import datetime
from operator import itemgetter, attrgetter
from sys import getfilesystemencoding
-from urllib import unquote
from bottle import route, static_file, request, response, redirect, error
@@ -228,7 +228,7 @@ def downloads():
@route('/downloads/get/<path:path>')
@login_required("DOWNLOAD")
def get_download(path):
- path = unquote(path).decode("utf8")
+ path = urllib.unquote(path).decode("utf8")
#@TODO some files can not be downloaded
root = PYLOAD.getConfigValue("general", "download_folder")