diff --git a/gajim/common/location_listener.py b/gajim/common/location_listener.py index a70dc0e9ea0aa04eae50a6bfda778292f72b872f..e40e9d4fb528140229ebf05dd62258f16e9ee8fa 100644 --- a/gajim/common/location_listener.py +++ b/gajim/common/location_listener.py @@ -43,7 +43,9 @@ class LocationListener: def __init__(self): self._data = {} - def _on_location_update(self, simple): + # Note: do not remove third parameter `paramSpec` + # because notify signal expects three parameters + def _on_location_update(self, simple, paramSpec=None): location = simple.get_location() timestamp = location.get_property("timestamp")[0] lat = location.get_property("latitude")