diff options
author | Walter Purcaro <vuolter@users.noreply.github.com> | 2015-04-18 16:48:48 +0200 |
---|---|---|
committer | Walter Purcaro <vuolter@users.noreply.github.com> | 2015-04-18 16:48:48 +0200 |
commit | ca08ffb14c17565fa85709e4fbb3c0747a74843e (patch) | |
tree | e7c9d5b459086c221e771ac3170974666f0345de /pyload/webui/app/pyloadweb.py | |
parent | Spare code cosmetics (5) (diff) | |
parent | fixed: MultiHook (diff) | |
download | pyload-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.py | 2 |
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 |