Skip to content

Commit

Permalink
Fix: str -> int
Browse files Browse the repository at this point in the history
  • Loading branch information
Johannes Kröger committed Feb 3, 2025
1 parent 7ebc977 commit a988e3b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Discovery/gpkg_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ def search_gpkg(search_text, search_field, echo_search_column, display_fields, e
for f in it:
feature_info = []
geom = f.geometry().asWkt()
epsg = layer.crs().authid().lstrip("EPSG:") # only the plain integer code is wanted later on
epsg = int(layer.crs().authid().lstrip("EPSG:")) # only the plain integer code is wanted later on
feature_info.append(geom)
feature_info.append(epsg)
available_fields = [field.name() for field in f.fields()]
Expand Down

0 comments on commit a988e3b

Please sign in to comment.