mirror of
https://github.com/nicolargo/glances.git
synced 2024-12-29 20:21:35 +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
|
network_bytepersec_tag = False
|
||||||
html_tag = False
|
html_tag = False
|
||||||
csv_tag = False
|
csv_tag = False
|
||||||
server_tag = False
|
|
||||||
client_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
|
# Set the default refresh time
|
||||||
refresh_time = 2
|
refresh_time = 2
|
||||||
|
Loading…
Reference in New Issue
Block a user