commit 1c8d062cf16c3e2d03c6c69b8373a00dd324fe74
parent eea67d2125348af25dc899fa0b62f7e74ca48da3
Author: lash <dev@holbrook.no>
Date: Mon, 15 Sep 2025 15:41:07 +0100
Fix breaking equality test for geo object
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/ungana/gui/event.py b/ungana/gui/event.py
@@ -160,7 +160,7 @@ class EventWindow(Gtk.Window):
self.entry_domain.set_text(domain)
v = ev.get('geo')
- if v != None:
+ if v.latitude:
self.entry_geo_lat.set_text(str(v.latitude))
self.entry_geo_lon.set_text(str(v.longitude))