Reformat
This commit is contained in:
parent
06a9bb1cb6
commit
733c7767a3
1 changed files with 3 additions and 3 deletions
|
@ -51,10 +51,10 @@ def write_blacklist(BLACKLIST):
|
||||||
f.write("\n")
|
f.write("\n")
|
||||||
f.write(musik)
|
f.write(musik)
|
||||||
|
|
||||||
|
|
||||||
def write_results(USERS, MUSIK, RESULTS):
|
def write_results(USERS, MUSIK, RESULTS):
|
||||||
with RESULTS.joinpath(datetime.now().strftime("%Y%m%d %H%M%S")).with_suffix(
|
with RESULTS.joinpath(datetime.now().strftime("%Y%m%d %H%M%S")).with_suffix(
|
||||||
".txt"
|
".txt"
|
||||||
).open("a") as f:
|
).open("a") as f:
|
||||||
f.write(f"Résultats {datetime.now()}\n\n")
|
f.write(f"Résultats {datetime.now()}\n\n")
|
||||||
f.write("\n".join("\t".join(um) for um in zip(USERS, MUSIK)))
|
f.write("\n".join("\t".join(um) for um in zip(USERS, MUSIK)))
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue