diff options
author | 2015-04-16 22:33:28 +0200 | |
---|---|---|
committer | 2015-04-16 22:33:28 +0200 | |
commit | 21c2ac71d045ae50a705d8ab0ac1e960d462e001 (patch) | |
tree | 896ff1eaae9151d83be150735c96a37a61d2d038 /pyload/webui/app | |
parent | fixed: more typos (diff) | |
parent | Merge pull request #5 from ardi69/0.4.10 (diff) | |
download | pyload-21c2ac71d045ae50a705d8ab0ac1e960d462e001.tar.xz |
Merge pull request #2 from vuolter/0.4.10
merge from vuolter
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() |