def loadConfig(self): utils.log("******************* load *******************") filename = utils.fileBrowse(14, 'fcfg') if not filename: return self.timerOff() self.setInfoBox(utils.getString(15)) self.sleep(INFOSECS) #1 second response = self.flirc.loadConfig(filename) self.timerOn() self.setInfoBox(utils.getString(response)) self.sleep(INFOSECS) #1 second
def upgradeFW(self): utils.log("******************* upgrade *******************") filename = utils.fileBrowse(10, 'bin') if not filename: return self.timerOff() self.setInfoBox(utils.getString(11)) self.sleep(INFOSECS) #1 second response = self.flirc.upgradeFW(filename) self.timerOn() self.setInfoBox(utils.getString(response)) self.sleep(INFOSECS) #1 second