Skip to content
Permalink
Browse files
Fix 'mkdir' in python processing tools
  • Loading branch information
dmarteau committed Apr 28, 2021
1 parent df9921e commit 467dd26de08fa9c9ff63516069b83d359aeeed77
Showing with 1 addition and 9 deletions.
  1. +1 −9 python/plugins/processing/tools/system.py
@@ -94,15 +94,7 @@ def getNumExportedLayers():


def mkdir(newdir):
newdir = newdir.strip('\n\r ')
if os.path.isdir(newdir):
pass
else:
(head, tail) = os.path.split(newdir)
if head and not os.path.isdir(head):
mkdir(head)
if tail:
os.mkdir(newdir)
os.makedirs(newdir.strip('\n\r '), exist_ok=True)


def tempHelpFolder():

0 comments on commit 467dd26

Please sign in to comment.