Исправление работы флага --skip-existing (#27)
This commit is contained in:
parent
57d15eb9d0
commit
24bdb4ce62
2 changed files with 2 additions and 2 deletions
|
|
@ -7,7 +7,7 @@ build-backend = "setuptools.build_meta"
|
|||
|
||||
[project]
|
||||
name = "yandex-music-downloader"
|
||||
version = "1.0.1"
|
||||
version = "1.0.2"
|
||||
description = "Загрузчик музыки с сервиса Яндекс.Музыка"
|
||||
requires-python = ">=3.9"
|
||||
readme = "README.md"
|
||||
|
|
|
|||
|
|
@ -212,7 +212,7 @@ def main():
|
|||
save_path = args.dir / core.prepare_track_path(args.path_pattern,
|
||||
track, args.unsafe_path)
|
||||
if args.skip_existing and save_path.is_file():
|
||||
return
|
||||
continue
|
||||
|
||||
save_dir = save_path.parent
|
||||
if not save_dir.is_dir():
|
||||
|
|
|
|||
Loading…
Reference in a new issue