diff options
| author | 2015-04-16 18:07:46 +0200 | |
|---|---|---|
| committer | 2015-04-16 18:07:46 +0200 | |
| commit | 3eec058b29cc37af8ff116926d4273b377c7471b (patch) | |
| tree | 012864e3d7fce39e419dd70aa1cbabb347231b82 /pyload/webui/app | |
| parent | [config] Use get method instead dict access (diff) | |
| download | pyload-3eec058b29cc37af8ff116926d4273b377c7471b.tar.xz | |
Fix comments
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() |
