Исправление работы флага --skip-existing

This commit is contained in:
Lev Plyusnin 2024-11-24 20:10:20 +07:00
parent dd8f4cb056
commit f9cb171fef
No known key found for this signature in database
GPG key ID: 21C6C2C9C0A4460D
2 changed files with 2 additions and 2 deletions

View file

@ -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"

View file

@ -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