summaryrefslogtreecommitdiffstats
path: root/pyload/webui
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
parent[config] Use get method instead dict access (diff)
downloadpyload-3eec058b29cc37af8ff116926d4273b377c7471b.tar.xz
Fix comments
Diffstat (limited to 'pyload/webui')
-rw-r--r--pyload/webui/app/api.py2
-rw-r--r--pyload/webui/app/json.py2
-rw-r--r--pyload/webui/servers/lighttpd_default.conf2
3 files changed, 3 insertions, 3 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()
diff --git a/pyload/webui/servers/lighttpd_default.conf b/pyload/webui/servers/lighttpd_default.conf
index aa199b3f3..a821096c6 100644
--- a/pyload/webui/servers/lighttpd_default.conf
+++ b/pyload/webui/servers/lighttpd_default.conf
@@ -47,7 +47,7 @@ index-file.names = ( "index.php", "index.html",
"index.htm", "default.htm" )
## set the event-handler (read the performance section in the manual)
-# server.event-handler = "freebsd-kqueue" # needed on OS X
+# server.event-handler = "freebsd-kqueue" #: needed on OS X
# mimetype mapping
mimetype.assign = (