Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Making formatting consistent
  • Loading branch information
dericke authored and nyalldawson committed Feb 20, 2021
1 parent f3a60eb commit f87386a
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion python/plugins/processing/algs/gdal/Buffer.py
Expand Up @@ -121,7 +121,13 @@ def getConsoleCommands(self, parameters, context, feedback, executing=True):

other_fields = ',*' if other_fields_exist else ''

arguments = [output, ogrLayer, '-dialect', 'sqlite', '-sql']
arguments = [
output,
ogrLayer,
'-dialect',
'sqlite',
'-sql'
]
if dissolve or fieldName:
sql = 'SELECT ST_Union(ST_Buffer({}, {})) AS {}{} FROM "{}"'.format(geometry, distance, geometry, other_fields, layerName)
else:
Expand Down

0 comments on commit f87386a

Please sign in to comment.