mirror of
https://github.com/bellingcat/auto-archiver.git
synced 2026-06-12 13:18:28 +03:00
creates tmp folder if not exists
This commit is contained in:
@@ -1,2 +1,3 @@
|
||||
# we need to explicitly expose the available imports here
|
||||
from .gworksheet import GWorksheet
|
||||
from .gworksheet import GWorksheet
|
||||
from .misc import *
|
||||
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