def checkID(self): if self.checkTimer.isActive( ) or not self.check_enable or not self.loadAPIdata(): return self["resulttext"].setText(_("Please wait, get weather data ...")) MetrixHDWeatherUpdaterStandalone(check=True) self.checkTimer.start(3000, False)
def save(self): for x in self["config"].list: if len(x) > 1: x[1].save() configfile.save() MetrixHDWeatherUpdaterStandalone(once=True) self.exit()