We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3a0374d commit c7f2b1bCopy full SHA for c7f2b1b
WeatherMonitor/weather_monitor.py
@@ -54,7 +54,7 @@ def get_weather(key):
54
temprature_content = '温度注意:明日最低气温为' + tomorow_tmp_min + '°C!' + '\n'
55
if int(current_month) > 4 and int(current_month) < 9:
56
print('当前是%s月%s日' % (current_month, time.strftime("%d", time.localtime())))
57
- if ((int(tomorow_tmp_max) - int(today_tmp_max)) >= 5) or (int(tomorow_tmp_max >= 30)):
+ if ((int(tomorow_tmp_max) - int(today_tmp_max)) >= 5) or (int(tomorow_tmp_max) >= 30):
58
temprature_content = '温度注意:明日最高气温为' + tomorow_tmp_max + '°C!' + '\n'
59
60
return weather_content + air_content + temprature_content
0 commit comments