Skip to content

Commit

Permalink
fix pylint R1723 no-else-break
Browse files Browse the repository at this point in the history
  • Loading branch information
Silverarmor committed Dec 9, 2024
1 parent 0f2a86c commit 3df175a
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions spotdl/utils/m3u.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 3df175a

Please sign in to comment.