From cf78914a09380d99816e221e33ce1149d3e165df Mon Sep 17 00:00:00 2001 From: slashtechno <77907286+slashtechno@users.noreply.github.com> Date: Sun, 18 Dec 2022 13:55:52 -0600 Subject: [PATCH] Don't keep printing `writing configuration` A better solution would be to store it in memory (config with last seen) And every x seconds, write it --- main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.py b/main.py index a65ee47..97e23ad 100644 --- a/main.py +++ b/main.py @@ -165,11 +165,11 @@ while True: "Tags": "neutral_face", }, ) - print("Writing config...") # Update the last seen time config["faces"][name]["last_seen"] = datetime.datetime.now().strftime( DATETIME_FORMAT ) + # print("Writing config...") write_config() face_names.append(name) # Display the results