MCPcopy Create free account
hub / github.com/AstroPrint/AstroBox / save

Method save

src/astroprint/maintenancemenu.py:97–99  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

95 return
96
97 def save(self):
98 with open(self._maintenanceMenu, "wb") as maintenanceMenu:
99 yaml.safe_dump(self.data, maintenanceMenu, default_flow_style=False, indent=" ", allow_unicode=True)
100
101 def checkMenuFile(self, file):
102 filename = file.filename

Callers 1

checkMenuFileMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected