林轩 8 kuukautta sitten
vanhempi
commit
fd07933c34
1 muutettua tiedostoa jossa 1 lisäystä ja 1 poistoa
  1. 1 1
      crond_script/today_weather.py

+ 1 - 1
crond_script/today_weather.py

@@ -126,7 +126,7 @@ def main():
                         day_obj.save()
                         print(f"request again success: {day_obj.cityid}")
                         try:
-                            if now_hour == 19:
+                            if now_hour == 20:
                                 HistoryDayData.objects.create(
                                     cityid = day_obj.cityid,
                                     content = today_data,