Update nodes.py
fix utf-8
This commit is contained in:
+2
-1
@@ -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 📚",
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user