summaryrefslogtreecommitdiffstats
path: root/geoclue.py
diff options
context:
space:
mode:
Diffstat (limited to 'geoclue.py')
-rw-r--r--geoclue.py12
1 files changed, 6 insertions, 6 deletions
diff --git a/geoclue.py b/geoclue.py
index cbccf3b..1578b74 100644
--- a/geoclue.py
+++ b/geoclue.py
@@ -7,14 +7,14 @@ class GeoClueService(AGLBaseService):
def __init__(self, ip, port=None, api='geoclue'):
super().__init__(ip=ip, port=port, api=api, service='agl-service-geoclue')
- async def location(self, waitresponse=False):
- return await self.request('location', waitresponse=waitresponse)
+ async def location(self):
+ return await self.request('location')
- async def subscribe(self, event='location', waitresponse=False):
- await super().subscribe(event=event, waitresponse=waitresponse)
+ async def subscribe(self, event='location'):
+ await super().subscribe(event=event)
- async def unsubscribe(self, event='location', waitresponse=False):
- await super().unsubscribe(event=event, waitresponse=waitresponse)
+ async def unsubscribe(self, event='location'):
+ await super().unsubscribe(event=event)
async def main(loop):