updates to several panels to account for a lack of heater_bed
This commit is contained in:
@@ -234,6 +234,10 @@ class Printer:
|
||||
def get_tool_number(self, tool):
|
||||
return self.tools.index(tool)
|
||||
|
||||
def has_heated_bed(self):
|
||||
if "heater_bed" in self.devices:
|
||||
return True
|
||||
|
||||
def section_exists(self, section):
|
||||
if section in self.get_config_section_list():
|
||||
return True
|
||||
|
Reference in New Issue
Block a user