Skip to content

Commit

Permalink
Merge branch '2024-10-11-fix-rollback_session' of https://github.com/…
Browse files Browse the repository at this point in the history
…QGEP/qgepqwat2ili into 2024-10-11-fix-rollback_session
  • Loading branch information
sjib committed Oct 12, 2024
2 parents 53939be + 2296c6f commit dfe56df
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions qgepqwat2ili/gui/gui_import.py
Original file line number Diff line number Diff line change
Expand Up @@ -225,9 +225,11 @@ def rollback_session(self, emessage):
)

if not emessage is None:
iface.messageBar().pushMessage("Error", f"An error occurred: {emessage}", level=Qgis.Warning)
iface.messageBar().pushMessage(
"Error", f"An error occurred: {emessage}", level=Qgis.Warning
)
iface.messageBar().pushMessage("Error", "Import was canceled", level=Qgis.Warning)
else:
else:
iface.messageBar().pushMessage("Error", "Import was canceled", level=Qgis.Warning)

self.session.close()
Expand Down

0 comments on commit dfe56df

Please sign in to comment.