From b9cb383c2d65415d2ba6959bb75bc50736564589 Mon Sep 17 00:00:00 2001 From: jitcoder Date: Thu, 4 Jan 2024 12:07:06 +0500 Subject: [PATCH] fix: windows, resolve path --- lora_info.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lora_info.py b/lora_info.py index 95b61b8..eb796bd 100644 --- a/lora_info.py +++ b/lora_info.py @@ -7,7 +7,7 @@ from server import PromptServer from aiohttp import web import os -db_path = os.path.join(os.path.curdir, 'custom_nodes', 'lora-info', 'db.json') +db_path = os.path.abspath(os.path.join(os.path.curdir, 'custom_nodes', 'lora-info', 'db.json')) def load_json_from_file(file_path): try: