summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Armin <Armin@Armin-PC.diedering.lan> 2015-04-18 14:11:59 +0200
committerGravatar Armin <Armin@Armin-PC.diedering.lan> 2015-04-18 14:11:59 +0200
commitb72f657c2a4bdd6a94c1123bb487098a84211e36 (patch)
tree0e2ef40d7255bc5b38d3e8d5b17e79070cd21b42
parentMerge pull request #3 from vuolter/0.4.10 (diff)
downloadpyload-b72f657c2a4bdd6a94c1123bb487098a84211e36.tar.xz
fixed: show "all" logs in webui
-rw-r--r--pyload/webui/app/pyloadweb.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/pyload/webui/app/pyloadweb.py b/pyload/webui/app/pyloadweb.py
index 1604bd576..0d4bbfe51 100644
--- a/pyload/webui/app/pyloadweb.py
+++ b/pyload/webui/app/pyloadweb.py
@@ -428,7 +428,7 @@ def logs(item=-1):
log = PYLOAD.getLog()
if not perpage:
- item = 0
+ item = 1
if item < 1 or type(item) is not int:
item = 1 if len(log) - perpage + 1 < 1 else len(log) - perpage + 1