Skip to content

Commit

Permalink
[processing]Execute Sql : fix Input2.. InputN parameters
Browse files Browse the repository at this point in the history
  • Loading branch information
LOMENEDE Jean-Daniel authored and Hugo Mercier committed Jan 30, 2017
1 parent a79bf97 commit c4165e4
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions python/plugins/processing/algs/qgis/ExecuteSQL.py
Expand Up @@ -103,6 +103,7 @@ def processAlgorithm(self, feedback):
layer = dataobjects.getObjectFromUri(layerSource)
if layer:
df.addSource('input{}'.format(layerIdx), layer.id())
layerIdx += 1

if query == '':
raise GeoAlgorithmExecutionException(
Expand Down

0 comments on commit c4165e4

Please sign in to comment.