Compare commits

..

1 Commits

Author SHA1 Message Date
f710ed4b8e 🐛修复编码问题 2024-11-24 01:44:42 +08:00

View File

@@ -78,8 +78,8 @@ class MarshoTools:
json_path = os.path.join(package_path, 'tools.json')
if os.path.exists(json_path):
try:
with open(json_path, 'r') as json_file:
data = json.load(json_file,encoding="utf-8")
with open(json_path, 'r', encoding="utf-8") as json_file:
data = json.load(json_file)
for i in data:
self.tools_list.append(i)
# 导入包