Philipp Hörist pushed to branch master at gajim / gajim
Commits:
54fe4dac by Philipp Hörist at 2018-10-25T23:49:15Z
Fix import
- - - - -
1 changed file:
- gajim/common/dbus/location.py
Changes:
=====================================
gajim/common/dbus/location.py
=====================================
@@ -21,6 +21,8 @@ from gi.repository import GLib
from gajim.common import app
+if app.is_installed('GEOCLUE'):
+ from gi.repository import Geoclue
log = logging.getLogger('gajim.c.dbus.location')
@@ -104,6 +106,5 @@ def enable():
log.warning('GeoClue not installed')
return
- from gi.repository import Geoclue
listener = LocationListener.get()
listener.start()
View it on GitLab:
https://dev.gajim.org/gajim/gajim/commit/54fe4dacf2b5b51cd402e2ad607f8f9f305d8d76
--
View it on GitLab:
https://dev.gajim.org/gajim/gajim/commit/54fe4dacf2b5b51cd402e2ad607f8f9f305d8d76
You're receiving this email because of your account on dev.gajim.org.
_______________________________________________
Commits mailing list
[email protected]
https://lists.gajim.org/cgi-bin/listinfo/commits