Move all ftp operations to printer file system.

This commit is contained in:
Anton Skrypnyk
2024-07-25 16:51:15 +03:00
parent 55b78cea05
commit 1f7eed6b23
16 changed files with 439 additions and 428 deletions

View File

@ -64,7 +64,7 @@ class PrintingState(APrinterState):
def update_print_job_info(self):
print_job_info = self._printer.bambu_client.get_device().print_job
task_name: str = print_job_info.subtask_name
project_file_info = self._printer.file_system.get_data_by_suffix(
project_file_info = self._printer.file_system.project_files.get_file_by_suffix(
task_name, [".3mf", ".gcode.3mf"]
)
if project_file_info is None: