This commit is contained in:
Edgar P. Burkhart 2024-04-09 22:02:03 +02:00
parent 06a9bb1cb6
commit 733c7767a3
Signed by: edpibu
GPG key ID: 9833D3C5A25BD227

View file

@ -51,10 +51,10 @@ def write_blacklist(BLACKLIST):
f.write("\n")
f.write(musik)
def write_results(USERS, MUSIK, RESULTS):
with RESULTS.joinpath(datetime.now().strftime("%Y%m%d %H%M%S")).with_suffix(
".txt"
).open("a") as f:
".txt"
).open("a") as f:
f.write(f"Résultats {datetime.now()}\n\n")
f.write("\n".join("\t".join(um) for um in zip(USERS, MUSIK)))