summaryrefslogtreecommitdiffstats
path: root/pyload/webui/app/pyloadweb.py
diff options
context:
space:
mode:
authorGravatar Walter Purcaro <vuolter@users.noreply.github.com> 2015-04-18 16:48:48 +0200
committerGravatar Walter Purcaro <vuolter@users.noreply.github.com> 2015-04-18 16:48:48 +0200
commitca08ffb14c17565fa85709e4fbb3c0747a74843e (patch)
treee7c9d5b459086c221e771ac3170974666f0345de /pyload/webui/app/pyloadweb.py
parentSpare code cosmetics (5) (diff)
parentfixed: MultiHook (diff)
downloadpyload-ca08ffb14c17565fa85709e4fbb3c0747a74843e.tar.xz
Merge pull request #7 from ardi69/0.4.10
fix SyntaxError
Diffstat (limited to 'pyload/webui/app/pyloadweb.py')
-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