summaryrefslogtreecommitdiffstats
path: root/pyload/webui/app
diff options
context:
space:
mode:
authorGravatar Walter Purcaro <vuolter@users.noreply.github.com> 2015-04-16 18:07:46 +0200
committerGravatar Walter Purcaro <vuolter@users.noreply.github.com> 2015-04-16 18:07:46 +0200
commit3eec058b29cc37af8ff116926d4273b377c7471b (patch)
tree012864e3d7fce39e419dd70aa1cbabb347231b82 /pyload/webui/app
parent[config] Use get method instead dict access (diff)
downloadpyload-3eec058b29cc37af8ff116926d4273b377c7471b.tar.xz
Fix comments
Diffstat (limited to 'pyload/webui/app')
-rw-r--r--pyload/webui/app/api.py2
-rw-r--r--pyload/webui/app/json.py2
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()