Update nodes.py

fix utf-8
This commit is contained in:
KLL535
2025-08-24 02:14:40 +03:00
committed by GitHub
parent 19a75b10ee
commit 632eeeac85
+2 -1
View File
@@ -112,7 +112,7 @@ class SimpleLoadLineFromTextFile:
file_path = os.path.expandvars(file_path)
if not os.path.isfile(file_path):
raise FileNotFoundError(f"The file at path '{file_path}' does not exist.")
with open(file_path, 'r', encoding='ISO-8859-1') as file: #utf-8
with open(file_path, 'r', encoding='utf-8') as file: #utf-8
lines = file.readlines()
for line in lines:
@@ -933,3 +933,4 @@ NODE_DISPLAY_NAME_MAPPINGS = {
"Simple Remove Think": "Simple Remove Think 📚",
}