KindleOutlookCalendarWeather
KindleOutlookCalendarWeather copied to clipboard
standAlone
天气刷新的问题
``` intTime = int(strtime5) if(countUpdate_1 and intTime == 7): tempArray = UpdateData() countUpdate_1 = False elif(countUpdate_2 and intTime == 11): tempArray = UpdateData() countUpdate_2 = False elif(countUpdate_3 and intTime ==...
https://github.com/ShaderFallback/KindleOutlookCalendarWeather/blob/651b66d53ac6ef1c56beac3ac8d10fc53116739e/bin/WeatherStation.py#L235 需要判断当前是否有天气缓存没有的话需要重新建立
 
运行后,在log.log中报错 Traceback (most recent call last): File "/mnt/us/extensions/KindleOutlookCalendarWeather/bin/pytz_deprecation_shim/_impl.py", line 39, in timezone zone = _compat.get_timezone(key) File "/mnt/us/extensions/KindleOutlookCalendarWeather/bin/pytz_deprecation_shim/_compat_py3.py", line 16, in get_timezone return zoneinfo.ZoneInfo(key) File "/mnt/us/python3/lib/python3.9/zoneinfo/_common.py", line 24, in load_tzdata raise...