From ae86fcc5ec2c25753f7e2ce299bbdaecdae22c1c Mon Sep 17 00:00:00 2001 From: kuba Date: Fri, 6 Sep 2024 12:15:27 +0200 Subject: [PATCH] format with black --- spotdl/console/sync.py | 6 +++++- spotdl/download/downloader.py | 4 +++- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/spotdl/console/sync.py b/spotdl/console/sync.py index be8852017..a96655a99 100644 --- a/spotdl/console/sync.py +++ b/spotdl/console/sync.py @@ -174,7 +174,11 @@ def sync( lrc_file = old_path.with_suffix(".lrc") new_lrc_file = new_path.with_suffix(".lrc") if lrc_file.exists(): - logger.debug("Renaming lrc %s to %s", f"'{lrc_file}'", f"'{new_lrc_file}'") + logger.debug( + "Renaming lrc %s to %s", + f"'{lrc_file}'", + f"'{new_lrc_file}'", + ) try: lrc_file.rename(new_lrc_file) except (PermissionError, OSError) as exc: diff --git a/spotdl/download/downloader.py b/spotdl/download/downloader.py index b009284bb..86844c48e 100644 --- a/spotdl/download/downloader.py +++ b/spotdl/download/downloader.py @@ -501,7 +501,9 @@ def search_and_download( # pylint: disable=R0911 logger.debug( "Found duplicate songs for %s at %s", song.display_name, - ", ".join([f"'{str(dup_song_path)}'" for dup_song_path in dup_song_paths]), + ", ".join( + [f"'{str(dup_song_path)}'" for dup_song_path in dup_song_paths] + ), ) # If the file already exists and we don't want to overwrite it,