Added --info flag and modified logging output a bit

This commit is contained in:
Veronica K. B. Olsen
2019-11-05 11:25:45 +01:00
parent 28d347c848
commit 709689cf55
4 changed files with 8 additions and 4 deletions
+1 -1
View File
@@ -598,7 +598,7 @@ class NWProject():
if not path.isdir(thePath):
try:
mkdir(thePath)
logger.info("Created folder %s" % thePath)
logger.debug("Created folder %s" % thePath)
except Exception as e:
self.makeAlert(["Could not create folder.",str(e)], nwAlert.ERROR)
return False