We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a4c5509 commit 17510f0Copy full SHA for 17510f0
python/plugins/processing/algs/gdal/ogr2ogrtopostgislist.py
@@ -210,7 +210,7 @@ def getConsoleCommands(self):
210
arguments = []
211
arguments.append('-progress')
212
arguments.append('--config PG_USE_COPY YES')
213
- if len(shapeEncoding) > 0:
+ if shapeEncoding:
214
arguments.append('--config')
215
arguments.append('SHAPE_ENCODING')
216
arguments.append('"' + shapeEncoding + '"')
0 commit comments