From 3df175a9e0ef0a4f2717ccc111ffedd9efa3eefb Mon Sep 17 00:00:00 2001 From: Jayden <23619946+Silverarmor@users.noreply.github.com> Date: Mon, 9 Dec 2024 21:38:05 +1300 Subject: [PATCH] fix pylint R1723 no-else-break --- spotdl/utils/m3u.py | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/spotdl/utils/m3u.py b/spotdl/utils/m3u.py index 242280b41..2d57a1798 100644 --- a/spotdl/utils/m3u.py +++ b/spotdl/utils/m3u.py @@ -59,11 +59,10 @@ def create_m3u_content( if file_name.exists(): text += str(file_name) + "\n" break - else: - file_name = create_file_name( - song, template, file_extension, restrict, short - ) + file_name = create_file_name( + song, template, file_extension, restrict, short + ) text += str(file_name) + "\n" return text