updates to several panels to account for a lack of heater_bed

This commit is contained in:
Jordan
2020-12-28 17:08:17 -05:00
parent 63764ee32e
commit 9d89311bcc
5 changed files with 42 additions and 31 deletions

View File

@@ -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