def _on_printJobStarted(self): # starting new print self._filamentOdometer.reset() spoolModel = self.loadSelectedSpool() if (spoolModel != None): if (StringUtils.isEmpty(spoolModel.firstUse) == True): firstUse = datetime.now() spoolModel.firstUse = firstUse self._databaseManager.saveSpool(spoolModel) self._sendDataToClient(dict(action="reloadTable")) pass