Skip to content

Commit

Permalink
Merge pull request #155 from QGEP/2024-08-22-adapt-interlis-import-ex…
Browse files Browse the repository at this point in the history
…port-because-of-2024-08-22-rename-system_user-to-user_system

adapt interlis import / export because of datamodel change
  • Loading branch information
ponceta committed Aug 23, 2024
2 parents 7b3259a + 2cd7c8c commit e2d2812
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion qgepqwat2ili/qgepdss/export.py
Original file line number Diff line number Diff line change
Expand Up @@ -399,7 +399,7 @@ def textpos_common(row, t_type, geojson_crs_def):
letzter_wert=row.last_value,
mutationsdatum=row.date_mutation,
objekt=null_to_emptystr(row.object),
systembenutzer=null_to_emptystr(row.system_user),
systembenutzer=null_to_emptystr(row.user_system),
)
abwasser_session.add(mutation)
create_metaattributes(row)
Expand Down
2 changes: 1 addition & 1 deletion qgepqwat2ili/qgepdss/import_.py
Original file line number Diff line number Diff line change
Expand Up @@ -365,7 +365,7 @@ def overflow_common(row):
object=row.objekt,
recorded_by=row.aufnehmer,
remark=row.bemerkung,
system_user=row.systembenutzer,
user_system=row.systembenutzer,
)
qgep_session.add(mutation)
print(".", end="")
Expand Down

0 comments on commit e2d2812

Please sign in to comment.