From 97690b114e5c0fcb93b2174e8f7f30a9b9d37e0c Mon Sep 17 00:00:00 2001 From: Leonetienne Date: Sun, 30 Jan 2022 06:14:53 +0100 Subject: [PATCH] now outputting artist name in stdout --- grab.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/grab.py b/grab.py index 541a75e..2233005 100644 --- a/grab.py +++ b/grab.py @@ -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