Skip to content

Commit

Permalink
Merge pull request #158 from QGEP/2024-08-30-fix2-alchemy
Browse files Browse the repository at this point in the history
2024-08-30-fix2-alchemy
  • Loading branch information
ponceta committed Aug 31, 2024
2 parents 7b1e70d + c54f2c4 commit 0bf7a8c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion qgepqwat2ili/gui/gui_import.py
Original file line number Diff line number Diff line change
Expand Up @@ -218,7 +218,7 @@ def commit_session(self):
# session.begin_nested() and one additionnal self.session.commit()

# add info in message bar
iface.messageBar().pushMessage("Please be patient!", "Importing data in qgep - working ...", level=Qgis.Warning)
iface.messageBar().pushMessage("Please be patient!", "Importing data in qgep - working ...", level=Qgis.Info)

try:
self.session.commit()
Expand Down
3 changes: 1 addition & 2 deletions qgepqwat2ili/postimport.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,7 @@ def qgep_postimport():
post_session.execute(text("SELECT qgep_od.wastewater_structure_update_fk_main_cover('', True);"))

logger.info("Update wastewater structure fk_main_wastewater_node")
post_session.execute(text("SELECT qgep_od.wastewater_structure_update_fk_main_wastewater_node('', True));"
)
post_session.execute(text("SELECT qgep_od.wastewater_structure_update_fk_main_wastewater_node('', True);"))

# add symbology update queries - backporting from tww https://github.com/teksi/wastewater/pull/263
logger.info("update_wastewater_node_symbology for all datasets - please be patient")
Expand Down

0 comments on commit 0bf7a8c

Please sign in to comment.