Skip to content

Commit

Permalink
[processing] remove square brackets from output names when no path an…
Browse files Browse the repository at this point in the history
…d no extensions are provided
  • Loading branch information
volaya committed May 25, 2016
1 parent 1132eb9 commit 950a191
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions python/plugins/processing/gui/OutputSelectionPanel.py
Expand Up @@ -237,6 +237,8 @@ def getValue(self):
result = exp.evaluate(context)
if not exp.hasEvalError():
fileName = result
if fileName.startswith("[") and fileName.endswith("]"):
fileName = fileName[1:-1]
if fileName.strip() in ['', self.SAVE_TO_TEMP_FILE]:
value = None
elif fileName.startswith('memory:'):
Expand Down

0 comments on commit 950a191

Please sign in to comment.