Исправление работы флага --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]
|
[project]
|
||||||
name = "yandex-music-downloader"
|
name = "yandex-music-downloader"
|
||||||
version = "3.2.1b2"
|
version = "3.2.1b3"
|
||||||
description = "Загрузчик музыки с сервиса Яндекс.Музыка"
|
description = "Загрузчик музыки с сервиса Яндекс.Музыка"
|
||||||
requires-python = ">=3.9"
|
requires-python = ">=3.9"
|
||||||
readme = "README.md"
|
readme = "README.md"
|
||||||
|
|
|
||||||
|
|
@ -273,7 +273,7 @@ def main():
|
||||||
)
|
)
|
||||||
if args.skip_existing:
|
if args.skip_existing:
|
||||||
if any(
|
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
|
continue
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue