diff options
Diffstat (limited to 'scripts/neohub.py')
-rw-r--r-- | scripts/neohub.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/scripts/neohub.py b/scripts/neohub.py index 5c62606..7cc1160 100644 --- a/scripts/neohub.py +++ b/scripts/neohub.py @@ -1,4 +1,5 @@ #!/usr/bin/python3 +''' Get stuff from neohub! This is mostly the usage-example from https://gitlab.com/neohubapi/neohubapi/ ''' import os import asyncio @@ -11,6 +12,7 @@ neohub_ip = os.environ['el_neohub_ip'] neohub_port = os.environ['el_neohub_port'] async def run(): + ''' async runner! w00p ''' # Legacy connection hub = neohub.NeoHub(neohub_ip, int(neohub_port)) # Or, for a websocket connection: @@ -24,4 +26,3 @@ async def run(): dbi(sql, values) asyncio.run(run()) - |