Bugfix because Alarmdepesche has sometime utf8 chars
This commit is contained in:
parent
8dae830443
commit
35217c6b4d
2
main.py
2
main.py
@ -211,7 +211,7 @@ class Alarmdepesche():
|
||||
self.city = self.get_string(td)
|
||||
if key == "Info:":
|
||||
self.info = self.get_string(td)
|
||||
if key == "UTM - Koordinaten:":
|
||||
if "UTM - Koordinaten:" in key:
|
||||
utm_string = self.get_string(td).split(" ")
|
||||
self.geo_point = utm.to_latlon(int(utm_string[1]), int(utm_string[2]), int(utm_string[0][:2]),
|
||||
utm_string[0][2])
|
||||
|
Loading…
x
Reference in New Issue
Block a user