Skip to content

Commit 2c55267

Browse files
author
Matt Russell
committed
Create temp downloads directory ahread of usage.
1 parent 8e9addc commit 2c55267

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/azanium/artefact.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@
1414

1515
def prepare(cmd_ctx, func):
1616
f_name = func.__name__
17+
os.makedirs(DOWNLOAD_DIR, exist_ok=True)
1718
tmpdir = tempfile.mkdtemp(suffix='-db-migration-downloads',
1819
dir=DOWNLOAD_DIR)
1920
download_dir = os.path.join(tmpdir, f_name)

0 commit comments

Comments
 (0)