From a4f3645eb75a74b3dbd2f499d8094be9559adfb2 Mon Sep 17 00:00:00 2001 From: Dirk Engling Date: Mon, 6 Jan 2025 02:43:01 +0000 Subject: Cleanup --- fullnarp.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'fullnarp.py') diff --git a/fullnarp.py b/fullnarp.py index 24c5dc6..c03de45 100644 --- a/fullnarp.py +++ b/fullnarp.py @@ -122,6 +122,7 @@ async def handle_client(websocket): message = { "property": "fullnarp", "current_version": newest_version, + "version_url": fullnarp_path + "versions/fullnarp_" + str(newest_version) + ".json", "data": current_version, } await websocket.send(json.dumps(message)) @@ -200,7 +201,7 @@ async def main(): ) args = parser.parse_args() - global engine, SessionLocal + global engine, SessionLocal, fullnarp_path with open(args.config, mode="r", encoding="utf-8") as json_file: config = json.load(json_file) -- cgit v1.2.3