This commit is contained in:
atse 2024-08-14 11:54:15 +08:00
parent 9bf0a8bc81
commit 607d0f80e4

View File

@ -73,7 +73,7 @@ class MainWindow(QtWidgets.QMainWindow):
self.autotuners = PIDAutoTuner(self, self.client, 2) self.autotuners = PIDAutoTuner(self, self.client, 2)
def get_ctrl_panel_config(args): def get_ctrl_panel_config(args):
with open(args.param_tree, "r") as f: with open(args.param_tree, "r", encoding="utf-8") as f:
return json.load(f)["ctrl_panel"] return json.load(f)["ctrl_panel"]
param_tree_sigActivated_handles = [ param_tree_sigActivated_handles = [