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