From 676074ee3d9e379d15e52ffe2e0fa5436b2a31fb Mon Sep 17 00:00:00 2001 From: Owen Griffiths Date: Thu, 5 Jan 2023 17:44:58 +0000 Subject: [PATCH] Moved commit to be 1 always at end (#48) --- yark/cli.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/yark/cli.py b/yark/cli.py index 9706458..cfead81 100644 --- a/yark/cli.py +++ b/yark/cli.py @@ -129,12 +129,11 @@ def parse_maximum_int(config_arg: str) -> int: print("Skipping metadata download..") else: channel.metadata() - channel.commit() if config.skip_download: print("Skipping videos/livestreams/shorts download..") else: channel.download(config) - channel.commit() + channel.commit() channel.reporter.print() except ArchiveNotFoundException: _err_archive_not_found()