Philipp Hörist pushed to branch master at gajim / gajim
Commits: c473fa61 by André Apitzsch at 2018-01-19T01:52:58+01:00 location_listener: location update notifier requires three parameters
the third parameter contains the location parameter specification
- - - - - b2269924 by Philipp Hörist at 2018-01-19T07:55:02+01:00 Merge branch 'fixLocation' into 'master'
location_listener: location update notifier requires three parameters
Closes #8856
See merge request gajim/gajim!194 - - - - -
1 changed file:
- gajim/common/location_listener.py
Changes:
===================================== gajim/common/location_listener.py ===================================== --- 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")
View it on GitLab: https://dev.gajim.org/gajim/gajim/compare/1605b722b71bd3e126396e4a9e15bae1dc...
--- View it on GitLab: https://dev.gajim.org/gajim/gajim/compare/1605b722b71bd3e126396e4a9e15bae1dc... You're receiving this email because of your account on dev.gajim.org.