def load_properties(self):
try:
with open("properties.json", "r") as file:
self.properties = json.loads(jsonesque.process(file.read()))
file.close()
except FileNotFoundError:
# print("{} | FileNotFoundError: 'properties.json' not found.".format(datetime.now().strftime("%H:%M:%S")))
messagebox.showwarning(title="Warning", message="Could not find 'properties.json'.")
评论列表
文章目录