Skip to content
Permalink
Browse files

Making formatting consistent

  • Loading branch information
dericke authored and nyalldawson committed Feb 20, 2021
1 parent f3a60eb commit f87386aa0a6901081014982b7b5271d8302dac04
Showing with 7 additions and 1 deletion.
  1. +7 −1 python/plugins/processing/algs/gdal/Buffer.py
@@ -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:

0 comments on commit f87386a

Please sign in to comment.