diff --git a/src/main.py b/src/main.py index ba7fba5..dccd706 100644 --- a/src/main.py +++ b/src/main.py @@ -1,3 +1,4 @@ +import os from datetime import datetime import click @@ -173,6 +174,7 @@ def main( storage.commit(f"Processed {len(jobs)} chunks") # save logs + os.makedirs("logs", exist_ok=True) log_fname = f"logs/{int(datetime.now().timestamp())}-{serverless_backend}.csv" save_output_log(results, log_fname)