summaryrefslogtreecommitdiffstats
path: root/weather.py
diff options
context:
space:
mode:
authorEdi Feschiyan <edi.feschiyan@konsulko.com>2020-05-14 15:40:10 +0300
committerEdi Feschiyan <edi.feschiyan@konsulko.com>2020-06-09 09:30:02 +0300
commit6dccc504328e2de332bd8d86855bc8fda6da323d (patch)
treec35e859e8316645a7d081180809354085c6e071a /weather.py
parentf3fb41b37cd34c961750aa25701fbb35941ff75f (diff)
working first test with asyncio for gps and weather.py imports cleanup
Diffstat (limited to 'weather.py')
-rw-r--r--weather.py5
1 files changed, 1 insertions, 4 deletions
diff --git a/weather.py b/weather.py
index 22c2646..ef1461a 100644
--- a/weather.py
+++ b/weather.py
@@ -1,8 +1,5 @@
import asyncio
-from random import randint
-import json
from aglbaseservice import AGLBaseService
-msgq = {}
class WeatherService(AGLBaseService):
@@ -27,4 +24,4 @@ async def main():
if __name__ == '__main__':
loop = asyncio.get_event_loop()
- loop.run_until_complete(main()) \ No newline at end of file
+ loop.run_until_complete(main())