Skip to content

Commit

Permalink
fixed tests
Browse files Browse the repository at this point in the history
  • Loading branch information
xnetcat committed Nov 10, 2023
1 parent 7f361e1 commit b0b9623
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
2 changes: 1 addition & 1 deletion spotdl/utils/logging.py
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
6 changes: 4 additions & 2 deletions tests/test_matching.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit b0b9623

Please sign in to comment.