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

Method removeMenu

src/astroprint/maintenancemenu.py:169–175  ·  view source on GitHub ↗
(self, tId)

Source from the content-addressed store, hash-verified

167 return False
168
169 def removeMenu(self, tId):
170 #remove definition file
171 os.remove(self._maintenanceMenu)
172
173 self._logger.info("Menu [%s] Removed" % tId)
174
175 return {"success": True}
176
177

Callers 1

deleteMaintenanceMenuFunction · 0.80

Calls 1

removeMethod · 0.80

Tested by

no test coverage detected