Skip to content

Commit

Permalink
Moved commit to be 1 always at end (#48)
Browse files Browse the repository at this point in the history
  • Loading branch information
Owez authored Jan 5, 2023
1 parent 6fa40a5 commit 676074e
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions yark/cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down

0 comments on commit 676074e

Please sign in to comment.