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...")