Skip to content
Snippets Groups Projects
Commit a85e2a93 authored by Rudolf, Michael's avatar Rudolf, Michael
Browse files

Fixed error for districts with spaces in their name.

parent 002d3d00
Branches
No related tags found
No related merge requests found
...@@ -229,7 +229,7 @@ def hlnug_description( ...@@ -229,7 +229,7 @@ def hlnug_description(
# Add district name(s) # Add district name(s)
try: try:
district = eval(row["district"]) district = eval(row["district"])
except NameError: except (NameError, SyntaxError):
district = row["district"] district = row["district"]
if district: if district:
prgph.add_run("Sie befindet sich innerhalb ") prgph.add_run("Sie befindet sich innerhalb ")
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment