mirror of
https://github.com/bellingcat/auto-archiver.git
synced 2026-06-11 20:58:29 +03:00
creates tmp folder if not exists
This commit is contained in:
5
utils/misc.py
Normal file
5
utils/misc.py
Normal file
@@ -0,0 +1,5 @@
|
||||
import os
|
||||
|
||||
def mkdir_if_not_exists(folder):
|
||||
if not os.path.exists(folder):
|
||||
os.mkdir(folder)
|
||||
Reference in New Issue
Block a user