yf_yzl 2 years atrás
parent
commit
d31ef9ef73
1 changed files with 1 additions and 1 deletions
  1. 1 1
      crond_script/crond_weather.py

+ 1 - 1
crond_script/crond_weather.py

@@ -78,7 +78,7 @@ def main():
     district = District.objects.all() 
     # init_data()
     logging.warning("up...")
-    results = District.objects.filter(id__gt = 32).filter(id__lt = 80)
+    results = District.objects.filter(id__gt = 31)
     # 更新数据
     for row in results:
         temp = row.city   # 东城区