fix: just guessing at this point....
This commit is contained in:
parent
bf2f6bc75c
commit
efedb49ce1
1 changed files with 3 additions and 3 deletions
6
pulse.py
6
pulse.py
|
@ -29,7 +29,7 @@ logger.addHandler(ch)
|
||||||
|
|
||||||
logger.setLevel(logging.INFO)
|
logger.setLevel(logging.INFO)
|
||||||
|
|
||||||
__version__ = "v0.2.0"
|
__version__ = "v0.2.1"
|
||||||
logger.info(__version__)
|
logger.info(__version__)
|
||||||
client = InfluxDBClient(url=URL, token=TOKEN, org=ORG)
|
client = InfluxDBClient(url=URL, token=TOKEN, org=ORG)
|
||||||
|
|
||||||
|
@ -76,7 +76,7 @@ async def run():
|
||||||
loop = asyncio.new_event_loop()
|
loop = asyncio.new_event_loop()
|
||||||
asyncio.set_event_loop(loop)
|
asyncio.set_event_loop(loop)
|
||||||
try:
|
try:
|
||||||
asyncio.gather(run(), return_exceptions=True)
|
loop.run_until_complete(asyncio.gather(run(), return_exceptions=True))
|
||||||
except Exception as e:
|
except Exception as e:
|
||||||
raise e
|
raise e
|
||||||
loop.run_until_complete(run())
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue