mirror of
https://github.com/nicolargo/glances.git
synced 2024-11-28 14:12:21 +03:00
Merge branch 'develop' of https://github.com/nicolargo/glances into develop
This commit is contained in:
commit
16a9ce3ad1
@ -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
|
||||
|
@ -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__()
|
||||
|
Loading…
Reference in New Issue
Block a user