nens / threedi-api-qgis-client

3Di Models & Simulations plugin
https://plugins.lizard.net/
Other
2 stars 0 forks source link

Fix potential breach fetch #441

Closed caspervdw closed 1 year ago

caspervdw commented 1 year ago

Fixes:

Traceback (most recent call last):  File "C:\Users/leendert.vanwolfswin/AppData/Roaming/QGIS/QGIS3\profiles\3Di MI testing/python/plugins\threedi_models_and_simulations\widgets\simulation_overview.py", line 112, in new_wizard_init    self.new_simulation(simulation, settings_overview, events)  File "C:\Users/leendert.vanwolfswin/AppData/Roaming/QGIS/QGIS3\profiles\3Di MI testing/python/plugins\threedi_models_and_simulations\widgets\simulation_overview.py", line 136, in new_simulation    self.simulation_wizard.load_template_parameters(simulation, settings_overview, events)  File "C:\Users/leendert.vanwolfswin/AppData/Roaming/QGIS/QGIS3\profiles\3Di MI testing/python/plugins\threedi_models_and_simulations\widgets\simulation_wizard.py", line 2448, in load_template_parameters    potential_breach_id = int(potential_breach_url.split("/")[-1])ValueError: invalid literal for int() with base 10: ''