From fd8de5880fbaad62d1136cd3199d8f6083432a01 Mon Sep 17 00:00:00 2001 From: SJiB Date: Thu, 12 Dec 2024 15:00:40 +0100 Subject: [PATCH] add : and comment --- qgepqwat2ili/utils/qgep_export_utils.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/qgepqwat2ili/utils/qgep_export_utils.py b/qgepqwat2ili/utils/qgep_export_utils.py index 78141cb6..902902a0 100644 --- a/qgepqwat2ili/utils/qgep_export_utils.py +++ b/qgepqwat2ili/utils/qgep_export_utils.py @@ -802,7 +802,8 @@ def get_connected_we_from_re(subset_reaches): if subset_reaches is None: connected_wn_from_re_ids = None else: - if not subset_reaches + # check if list is empty https://stackoverflow.com/questions/53513/how-do-i-check-if-a-list-is-empty + if not subset_reaches: connected_wn_from_re_ids = None else: logger.info(