Merge branch 'develop' of https://github.com/nicolargo/glances into develop

This commit is contained in:
nicolargo 2019-10-12 11:22:07 +02:00
commit 16a9ce3ad1
2 changed files with 2 additions and 3 deletions

View File

@ -309,9 +309,8 @@ Examples of use:
if WINDOWS:
args.webserver = True
# In web server mode, default refresh time: 5 sec
# In web server mode
if args.webserver:
args.time = 5
args.process_short_name = True
# Server or client login/password

View File

@ -225,7 +225,7 @@ class GlancesBottle(object):
"""Bottle callback for index.html (/) file."""
if refresh_time is None or refresh_time < 1:
refresh_time = self.args.time
refresh_time = int(self.args.time)
# Update the stat
self.__update__()