Forse ho trovato il problema nella libreria wittiot
Maybe the problem is in wittiot libraryIn this function/in questa funzionethere is a val=float(val) that is not preceded by the check if self.is_valid_float(val):Codice:def locval_topress(self,val,unit): if val=="" or val =="--" or val =="--.-": return val val=val.replace("hPa","") val=val.replace("inHg","") val=val.replace("mmHg","") if self.is_valid_float(val): val=float(val) else: return "" val=float(val) if unit=="0": val=round((val/ 33.86388),2) elif unit=="1": val else: val=round((val*1.33322/ 33.86388),1) return val
c'è un val=float(val) che non è preceduto dal controllo if self.is_valid_float(val):Rate limit . GitHub 540
Segnalibri