mirror of
https://github.com/deadc0de6/dotdrop.git
synced 2026-02-10 23:44:16 +00:00
do not mkdir when already exists in tests
This commit is contained in:
@@ -49,7 +49,8 @@ def create_random_file(folder, content=None):
|
|||||||
|
|
||||||
def create_dir(path):
|
def create_dir(path):
|
||||||
'''Create a folder'''
|
'''Create a folder'''
|
||||||
os.mkdir(path)
|
if not os.path.exists(path):
|
||||||
|
os.mkdir(path)
|
||||||
return path
|
return path
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user