From 24bdb4ce6283a32016f8bbf2b6de5d26e8850994 Mon Sep 17 00:00:00 2001 From: Lev Plyusnin Date: Sun, 27 Aug 2023 13:07:45 +0700 Subject: [PATCH] =?UTF-8?q?=D0=98=D1=81=D0=BF=D1=80=D0=B0=D0=B2=D0=BB?= =?UTF-8?q?=D0=B5=D0=BD=D0=B8=D0=B5=20=D1=80=D0=B0=D0=B1=D0=BE=D1=82=D1=8B?= =?UTF-8?q?=20=D1=84=D0=BB=D0=B0=D0=B3=D0=B0=20--skip-existing=20(#27)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pyproject.toml | 2 +- ymd/cli.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index c2407cd..2678486 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -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" diff --git a/ymd/cli.py b/ymd/cli.py index 119261c..3a3b98b 100644 --- a/ymd/cli.py +++ b/ymd/cli.py @@ -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():