fix: just guessing at this point....

This commit is contained in:
Jan-Ole Hübner 2024-05-13 13:05:03 +02:00
parent bf2f6bc75c
commit efedb49ce1

View file

@ -29,7 +29,7 @@ logger.addHandler(ch)
logger.setLevel(logging.INFO)
__version__ = "v0.2.0"
__version__ = "v0.2.1"
logger.info(__version__)
client = InfluxDBClient(url=URL, token=TOKEN, org=ORG)
@ -76,7 +76,7 @@ async def run():
loop = asyncio.new_event_loop()
asyncio.set_event_loop(loop)
try:
asyncio.gather(run(), return_exceptions=True)
loop.run_until_complete(asyncio.gather(run(), return_exceptions=True))
except Exception as e:
raise e
loop.run_until_complete(run())