Skip to content

Commit

Permalink
Fix selecting path when some structures have no wastewater node
Browse files Browse the repository at this point in the history
  • Loading branch information
m-kuhn committed Dec 10, 2018
1 parent bf632c2 commit 3b1fdef
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/gui/qgepprofiledockwidget.py
Original file line number Diff line number Diff line change
Expand Up @@ -201,7 +201,7 @@ def onSelectCurrentPathAction(self):
wastewater_structures.append(feature['fk_wastewater_structure'])
wastewater_nodes_layer.select(ids)

wastewater_structure_list = ','.join(("'" + id + "'" for id in wastewater_structures))
wastewater_structure_list = ','.join(("'" + id + "'" for id in wastewater_structures if type(id) is str))

if qgep_wastewater_structures_layer:
request = QgsFeatureRequest()
Expand Down

0 comments on commit 3b1fdef

Please sign in to comment.