林轩 1 سال پیش
والد
کامیت
a28a9c85fd
1فایلهای تغییر یافته به همراه2 افزوده شده و 2 حذف شده
  1. 2 2
      crond_script/today_weather.py

+ 2 - 2
crond_script/today_weather.py

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