mirror of
https://github.com/Wojtek242/qobuz-dl.git
synced 2024-11-22 02:55: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})"
|
||||
|
||||
track_file = f'{track_metadata["track_number"]:02}. {new_track_title}'
|
||||
final_file = os.path.join(root_dir, sanitize_filename(track_file))[:250]
|
||||
+ extension
|
||||
final_file = os.path.join(root_dir, sanitize_filename(track_file))[:250] + extension
|
||||
|
||||
if os.path.isfile(final_file):
|
||||
logger.info(f"{OFF}{new_track_title} was already downloaded")
|
||||
|
Loading…
Reference in New Issue
Block a user