mirror of
https://github.com/nicolargo/glances.git
synced 2024-12-28 11:41:46 +03:00
Force server mode for Windows OS
This commit is contained in:
parent
de5f84ea17
commit
4e1f5fef5c
@ -2245,8 +2245,12 @@ if __name__ == "__main__":
|
||||
network_bytepersec_tag = False
|
||||
html_tag = False
|
||||
csv_tag = False
|
||||
server_tag = False
|
||||
client_tag = False
|
||||
if os.name == "nt":
|
||||
# Force server mode for Windows operating system
|
||||
server_tag = True
|
||||
else:
|
||||
server_tag = False
|
||||
|
||||
# Set the default refresh time
|
||||
refresh_time = 2
|
||||
|
Loading…
Reference in New Issue
Block a user