From 950a191813fcc7d649bfd73462d812317fe77bd9 Mon Sep 17 00:00:00 2001 From: volaya Date: Wed, 25 May 2016 10:43:10 +0200 Subject: [PATCH] [processing] remove square brackets from output names when no path and no extensions are provided --- python/plugins/processing/gui/OutputSelectionPanel.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/python/plugins/processing/gui/OutputSelectionPanel.py b/python/plugins/processing/gui/OutputSelectionPanel.py index 43c55a8de0b..515bc16efce 100644 --- a/python/plugins/processing/gui/OutputSelectionPanel.py +++ b/python/plugins/processing/gui/OutputSelectionPanel.py @@ -237,6 +237,8 @@ class OutputSelectionPanel(BASE, WIDGET): 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:'):