Skip to content
Snippets Groups Projects
Commit 7bb4d07d authored by Philipp Hörist's avatar Philipp Hörist
Browse files

Fix import

parent bc97f6a9
No related branches found
No related tags found
No related merge requests found
......@@ -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()
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment