From 48c2f45218b6f7db06d61e1e191c6192a3e3ff2c Mon Sep 17 00:00:00 2001 From: jitcoder Date: Thu, 4 Jan 2024 19:42:38 +0500 Subject: [PATCH] fix: final final final fix --- lora_info.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lora_info.py b/lora_info.py index eb796bd..c5cc833 100644 --- a/lora_info.py +++ b/lora_info.py @@ -7,7 +7,8 @@ from server import PromptServer from aiohttp import web import os -db_path = os.path.abspath(os.path.join(os.path.curdir, 'custom_nodes', 'lora-info', 'db.json')) + +db_path = os.path.join(os.path.dirname(os.path.abspath(__file__)), 'db.json') def load_json_from_file(file_path): try: