Skip to content

Commit

Permalink
Extras: merge get_status defs in ratos.py
Browse files Browse the repository at this point in the history
  • Loading branch information
miklschmidt committed Nov 20, 2024
1 parent caf1ee3 commit 5088242
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions klippy/ratos.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
#####
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit 5088242

Please sign in to comment.