@@ -102,7 +102,6 @@ def __init__(self, parent: QtWidgets.QWidget, printer: Printer, ws, /) -> None:
102102 self .printer .print_stats_update [str , dict ].connect (self .on_print_stats_update )
103103 self .printer .print_stats_update [str , float ].connect (self .on_print_stats_update )
104104
105-
106105 self .printer .save_variables_update .connect (self .on_save_variables_update )
107106 self .state = "standby"
108107
@@ -157,7 +156,6 @@ def on_filament_sensor_update(self, sensor_name: str, parameter: str, value: boo
157156 return
158157 self .handle_filament_state ()
159158
160-
161159 @QtCore .pyqtSlot (dict , name = "on_load_filament" )
162160 def on_load_filament (self , status : dict ):
163161 """Handle load filament object updated"""
@@ -168,7 +166,9 @@ def on_load_filament(self, status: dict):
168166 if self .state == "printing" :
169167 self .request_change_tab .emit (0 )
170168 return
171- self .call_load_panel .emit (True , f"Loading Filament\n { status ['step' ].capitalize ()} " )
169+ self .call_load_panel .emit (
170+ True , f"Loading Filament\n { status ['step' ].capitalize ()} "
171+ )
172172 self .handle_filament_state ()
173173
174174 @QtCore .pyqtSlot (dict , name = "on_unload_filament" )
@@ -179,7 +179,9 @@ def on_unload_filament(self, status: dict):
179179 self .target_temp = 0
180180 self .call_load_panel .emit (False , "" )
181181 return
182- self .call_load_panel .emit (True , f"Unloading Filament\n { status ['step' ].capitalize ()} " )
182+ self .call_load_panel .emit (
183+ True , f"Unloading Filament\n { status ['step' ].capitalize ()} "
184+ )
183185 self .handle_filament_state ()
184186
185187 @QtCore .pyqtSlot (int , int , name = "load_filament" )
0 commit comments