From 5088242207abc683dd066e9474bafd7b5e34baf8 Mon Sep 17 00:00:00 2001 From: Mikkel Schmidt Date: Wed, 20 Nov 2024 15:01:51 +0100 Subject: [PATCH] Extras: merge get_status defs in ratos.py --- klippy/ratos.py | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/klippy/ratos.py b/klippy/ratos.py index 1d7b0000..95d12797 100644 --- a/klippy/ratos.py +++ b/klippy/ratos.py @@ -65,9 +65,6 @@ def load_settings(self): self.allow_unsupported_slicer_versions = True if self.config.get('allow_unsupported_slicer_versions', "false").lower() == "true" else False self.use_legacy_post_processor = True if self.config.get('use_legacy_post_processor', "false").lower() == "true" else False - def get_status(self, eventtime): - return {'name': self.name} - ##### # Gcode commands ##### @@ -756,7 +753,7 @@ def get_ratos_version(self): return version def get_status(self, eventtime): - return {'last_processed_file_result': self.last_processed_file_result} + return {'name': self.name, 'last_processed_file_result': self.last_processed_file_result} ##### # Bed Mesh Profile Manager