mirror of
https://github.com/Wojtek242/qobuz-dl.git
synced 2024-11-22 11:05:25 +01:00
fixed + operator error
This commit is contained in:
parent
bdb98bb59e
commit
e03d3aa97f
@ -153,8 +153,7 @@ def download_and_tag(
|
|||||||
new_track_title = f"{new_track_title} ({version})"
|
new_track_title = f"{new_track_title} ({version})"
|
||||||
|
|
||||||
track_file = f'{track_metadata["track_number"]:02}. {new_track_title}'
|
track_file = f'{track_metadata["track_number"]:02}. {new_track_title}'
|
||||||
final_file = os.path.join(root_dir, sanitize_filename(track_file))[:250]
|
final_file = os.path.join(root_dir, sanitize_filename(track_file))[:250] + extension
|
||||||
+ extension
|
|
||||||
|
|
||||||
if os.path.isfile(final_file):
|
if os.path.isfile(final_file):
|
||||||
logger.info(f"{OFF}{new_track_title} was already downloaded")
|
logger.info(f"{OFF}{new_track_title} was already downloaded")
|
||||||
|
Loading…
Reference in New Issue
Block a user