From 7c403ecc8b6bd31f447eb91d73d95055489fbac4 Mon Sep 17 00:00:00 2001 From: Dennis Eriksen Date: Wed, 1 Feb 2023 20:59:42 +0100 Subject: fixing some lintingthings --- scripts/neohub.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'scripts/neohub.py') 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()) - -- cgit v1.2.3