Skip to content
Permalink
Browse files

Fixes when no geometry

  • Loading branch information
pblottiere committed Apr 26, 2018
1 parent aef2b6e commit 40e0b89f9b0660ee2276e3b28d619676f6ff79ed
Showing with 1 addition and 1 deletion.
  1. +1 −1 python/plugins/processing/algs/qgis/ExecuteSQL.py
@@ -143,7 +143,7 @@ def processAlgorithm(self, parameters, context, feedback):
df.setUid(uid_field)

if geometry_type == 1: # no geometry
df.setGeometryWkbType(QgsWkbTypes.NullGeometry)
df.setGeometryWkbType(QgsWkbTypes.NoGeometry)
else:
if geometry_field:
df.setGeometryField(geometry_field)

0 comments on commit 40e0b89

Please sign in to comment.
You can’t perform that action at this time.