diff options
Diffstat (limited to 'module/web/pyload')
-rw-r--r-- | module/web/pyload/views.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/module/web/pyload/views.py b/module/web/pyload/views.py index 76f991921..8e72402a4 100644 --- a/module/web/pyload/views.py +++ b/module/web/pyload/views.py @@ -265,10 +265,10 @@ def logs(request, item=-1): item = counter #found our datetime if item >= 0: data.append({'line': counter, 'date': date+" "+time, 'level':level, 'message': message}) - perpagecheck = perpagecheck +1 + perpagecheck += 1 if fro is None and dtime is not None: #if fro not set set it to first showed line fro = dtime - if perpagecheck >= perpage and perpage > 0: + if perpagecheck >= perpage > 0: break if fro is None: #still not set, empty log? @@ -295,7 +295,7 @@ def collector(request): def config(request): conf = settings.PYLOAD.get_config() plugin = settings.PYLOAD.get_plugin_config() - accs = settings.PYLOAD.get_accounts() + accs = settings.PYLOAD.get_accounts(False, False) messages = [] for section in chain(conf.itervalues(), plugin.itervalues()): |