yf_yzl 2 年之前
父節點
當前提交
844051c9c9
共有 1 個文件被更改,包括 1 次插入0 次删除
  1. 1 0
      crond_script/crond_weather.py

+ 1 - 0
crond_script/crond_weather.py

@@ -78,6 +78,7 @@ def init_data():
 
 def main():
     district = District.objects.all() 
+    init_data()
     # if not district:
     #     init_data()
     logging.warning("up...")