fix: windows, resolve path

This commit is contained in:
jitcoder
2024-01-04 12:07:06 +05:00
parent 3ac7198c79
commit b9cb383c2d
+1 -1
View File
@@ -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: