Исправление работы флага --skip-existing
This commit is contained in:
parent
dd8f4cb056
commit
f9cb171fef
2 changed files with 2 additions and 2 deletions
|
|
@ -7,7 +7,7 @@ build-backend = "setuptools.build_meta"
|
|||
|
||||
[project]
|
||||
name = "yandex-music-downloader"
|
||||
version = "3.2.1b2"
|
||||
version = "3.2.1b3"
|
||||
description = "Загрузчик музыки с сервиса Яндекс.Музыка"
|
||||
requires-python = ">=3.9"
|
||||
readme = "README.md"
|
||||
|
|
|
|||
|
|
@ -273,7 +273,7 @@ def main():
|
|||
)
|
||||
if args.skip_existing:
|
||||
if any(
|
||||
save_path.with_suffix(s).is_file() for s in core.AUDIO_FILE_SUFFIXES
|
||||
Path(str(save_path) + s).is_file() for s in core.AUDIO_FILE_SUFFIXES
|
||||
):
|
||||
continue
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue