fix: windows, resolve path
This commit is contained in:
+1
-1
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user