Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed Nov 15, 2024
1 parent ffa728f commit e308a1d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions qgepqwat2ili/qgepsia405/export.py
Original file line number Diff line number Diff line change
Expand Up @@ -282,9 +282,9 @@ def structure_part_common(row):
return {
# abwasserbauwerkref is MANDATORY, so it cannot be set to NULL
"abwasserbauwerkref": get_tid(row.fk_wastewater_structure__REL),
#"abwasserbauwerkref": check_fk_in_subsetid(
# "abwasserbauwerkref": check_fk_in_subsetid(
# subset_ids, row.fk_wastewater_structure__REL
#),
# ),
"bemerkung": truncate(emptystr_to_null(row.remark), 80),
"bezeichnung": null_to_emptystr(row.identifier),
"instandstellung": get_vl(row.renovation_demand__REL),
Expand Down
2 changes: 1 addition & 1 deletion qgepqwat2ili/qgepsia405/export.py.old
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ def qgep_export(selection=None, labels_file=None, orientation=None):
# 5. get and add all id's of connected wastewater_structures (not only of wastewater_network_element (reach, wwn)
subset_wws_ids = get_ws_selected_ww_networkelements(subset_ids)
subset_ids = add_to_selection(subset_ids, subset_wws_ids)

logger.debug(
f"subset_ids with wws : {subset_ids}",
)
Expand Down

0 comments on commit e308a1d

Please sign in to comment.