diff options
Diffstat (limited to 'gps.py')
-rw-r--r-- | gps.py | 5 |
1 files changed, 1 insertions, 4 deletions
@@ -50,12 +50,9 @@ class GPSService: async def main(): gpss = await GPSService() try: - await gpss.subscribe() - data = await gpss.receive() - data = await gpss.receive() - data = await gpss.receive() data = await gpss.receive() print(data) + await gpss.subscribe() except ConnectionClosedError as e: print(e) |