fix: remove unnecessary .mp3 extension checks in download_missing_tracks method

This commit is contained in:
Kamil
2024-12-11 00:02:14 +00:00
parent f9e8be1824
commit debe273cfb

View File

@@ -168,11 +168,6 @@ def download_missing_tracks(self):
db.session.commit()
continue
# if outpur_dir not ends with .mp3, we need to add it
if not output_dir.endswith(".mp3"):
output_dir += ".mp3"
if not file_path.endswith(".mp3"):
file_path += ".mp3"
# region search before download