Skip to content

Commit

Permalink
Fix warning
Browse files Browse the repository at this point in the history
  • Loading branch information
nyalldawson committed Jun 6, 2017
1 parent 47a40ed commit 9038872
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion python/plugins/processing/gui/DestinationSelectionPanel.py
Expand Up @@ -231,7 +231,8 @@ def selectDirectory(self):
def getValue(self):
key = None
if not self.leText.text():
key = 'memory:'
if isinstance(self.parameter, QgsProcessingParameterFeatureSink):
key = 'memory:'
else:
key = self.leText.text()
value = QgsProcessingOutputLayerDefinition(key)
Expand Down

0 comments on commit 9038872

Please sign in to comment.