creates tmp folder if not exists

This commit is contained in:
msramalho
2022-02-23 16:32:38 +01:00
parent 1d62009c4f
commit 3cafc444fc
5 changed files with 11 additions and 5 deletions

View File

@@ -8,7 +8,7 @@ from dotenv import load_dotenv
import archivers
from storages import S3Storage, S3Config
from utils import GWorksheet
from utils import GWorksheet, mkdir_if_not_exists
load_dotenv()
@@ -124,6 +124,7 @@ def main():
logger.info(f'Opening document {args.sheet}')
mkdir_if_not_exists('tmp')
process_sheet(args.sheet)