check if exists to configuration, save_logs to command line

This commit is contained in:
msramalho
2022-06-14 21:37:02 +02:00
parent a7a555ea85
commit 6872d8e103
3 changed files with 10 additions and 2 deletions

View File

@@ -102,7 +102,7 @@ def process_sheet(c: Config):
logger.debug(f'Trying {archiver} on {row=}')
try:
result = archiver.download(url, check_if_exists=True)
result = archiver.download(url, check_if_exists=c.check_if_exists)
except KeyboardInterrupt as e: raise e # so the higher level catch can catch it
except Exception as e:
result = False