From 3b1fdef0668b02aa91f27b62c0b6f25f550d4b76 Mon Sep 17 00:00:00 2001 From: Matthias Kuhn Date: Mon, 10 Dec 2018 13:47:13 +0100 Subject: [PATCH] Fix selecting path when some structures have no wastewater node --- src/gui/qgepprofiledockwidget.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gui/qgepprofiledockwidget.py b/src/gui/qgepprofiledockwidget.py index f945edeb..af544ff5 100644 --- a/src/gui/qgepprofiledockwidget.py +++ b/src/gui/qgepprofiledockwidget.py @@ -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()