Skip to content

Commit

Permalink
Fix error message when folder can't be created
Browse files Browse the repository at this point in the history
  • Loading branch information
Ghostkeeper committed Dec 4, 2017
1 parent 1ec1506 commit c8a5ae0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions PostProcessingPlugin.py
Original file line number Diff line number Diff line change
Expand Up @@ -166,11 +166,11 @@ def _createView(self):
try:
os.makedirs(path)
except OSError:
Logger.log("w", "Unable to create a folder for scripts: " % path)
Logger.log("w", "Unable to create a folder for scripts: " + path)
continue

self.loadAllScripts(path)
except Exception as e:
except Exception:
Logger.logException("e", "Exception occurred while loading post processing plugin")

# Create the plugin dialog component
Expand Down

0 comments on commit c8a5ae0

Please sign in to comment.