Skip to content

Commit

Permalink
fix check_fk_in_subsetid for qgep export
Browse files Browse the repository at this point in the history
  • Loading branch information
sjib committed Oct 4, 2024
1 parent 5929a6a commit 39ded51
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions qgepqwat2ili/qgep/export.py
Original file line number Diff line number Diff line change
Expand Up @@ -130,10 +130,13 @@ def check_fk_in_subsetid(subset, relation):
logger.info(f"check_fk_in_subsetid - tid = '{tid_maker.tid_for_row(relation)}' ")
return tid_maker.tid_for_row(relation)
else:
logger.info(
f"check_fk_in_subsetid - '{fremdschluesselstr}' is not in subset - replaced with None instead!"
)
return None
if filtered:
logger.info(
f"check_fk_in_subsetid - '{fremdschluesselstr}' is not in subset - replaced with None instead!"
)
return None
else:
return tid_maker.tid_for_row(relation)

def create_metaattributes(row):
metaattribute = ABWASSER.metaattribute(
Expand Down

0 comments on commit 39ded51

Please sign in to comment.