diff options
Diffstat (limited to 'pyload/webui/app')
-rw-r--r-- | pyload/webui/app/api.py | 2 | ||||
-rw-r--r-- | pyload/webui/app/json.py | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/pyload/webui/app/api.py b/pyload/webui/app/api.py index 1f335f82e..dd8521a07 100644 --- a/pyload/webui/app/api.py +++ b/pyload/webui/app/api.py @@ -68,7 +68,7 @@ def callApi(func, *args, **kwargs): return json.dumps(result, cls=TBaseEncoder) -#post -> username, password +# post -> username, password @route('/api/login', method='POST') def login(): response.headers.replace("Content-type", "application/json") diff --git a/pyload/webui/app/json.py b/pyload/webui/app/json.py index b61f57a8c..700b310a0 100644 --- a/pyload/webui/app/json.py +++ b/pyload/webui/app/json.py @@ -278,7 +278,7 @@ def add_account(): @route('/json/update_accounts', method='POST') @login_required("ACCOUNTS") def update_accounts(): - deleted = [] #dont update deleted accs or they will be created again + deleted = [] #: dont update deleted accs or they will be created again for name, value in request.POST.iteritems(): value = value.strip() |