Commit aa2bc25e authored by Bonnegent Sebastien's avatar Bonnegent Sebastien
Browse files

séparateur de champs pour les sessions

parent 5be11a69
......@@ -78,7 +78,7 @@ def main(host="", port=7777):
tmp = []
for user in psutil.users():
timestamp = int(user.started)
os_users = ",".join(tmp)
# message = "%s;%s;%s" % (os_name, os_version, os_users)
message = f"{os_name};{os_version};{os_users_count};{os_users}"
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment