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,