now outputting artist name in stdout

This commit is contained in:
Leonetienne 2022-01-30 06:14:53 +01:00
parent 13d7d37d1e
commit 97690b114e

View File

@ -50,7 +50,7 @@ def logMsg(msg, mode):
timestamp = getCurrentTimestamp()
# Log to console
print(col + "[" + timestamp + "]: " + msg)
print(col + f"[{timestamp}][{artist_name}]: " + msg)
# Log to logfile
logfile = open("./logs/" + slugify(artist_name) + ".txt", "a") # Open existing or create