Force server mode for Windows OS

This commit is contained in:
Nicolas Hennion 2012-10-31 13:39:41 +01:00
parent de5f84ea17
commit 4e1f5fef5c

View File

@ -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