diff --git a/spotdl/utils/logging.py b/spotdl/utils/logging.py index c63a6cef2..8cebd385c 100644 --- a/spotdl/utils/logging.py +++ b/spotdl/utils/logging.py @@ -197,8 +197,8 @@ def init_logging(log_level: str, log_format: Optional[str] = None): rich_tracebacks=True, ) + msg_format = "%(message)s" if log_format is None: - msg_format = "%(message)s" if log_level == "DEBUG": msg_format = "%(threadName)s - %(message)s" else: diff --git a/tests/test_matching.py b/tests/test_matching.py index a6fbf5ea8..a24c95be9 100644 --- a/tests/test_matching.py +++ b/tests/test_matching.py @@ -101,8 +101,10 @@ ( # Lisa Hannigan - Amhrán Na Farraige "https://open.spotify.com/track/07paTkxx4R7rmiGjqm84RM", - ["https://music.youtube.com/watch?v=f-VuVq0I0-U"], - ["https://music.youtube.com/watch?v=C32q5UoIdfQ"], + [ + "https://music.youtube.com/watch?v=f-VuVq0I0-U", + "https://music.youtube.com/watch?v=C32q5UoIdfQ", + ], ), # ( # # Pavel Petrov - Granger Says