增加排序

main
roger 2 years ago
parent 64f806cc2e
commit 938d42dc80
  1. 2
      red_forecast.py

@ -115,7 +115,7 @@ def update_red_forecast_db():
date_id = all_data[-1]['dateId']
params = 1
red_rate = json.dumps(red_forecast_dict)
red_suggest = json.dumps(red_forecast_list[0:6])
red_suggest = json.dumps(sorted(red_forecast_list[0:6]))
conn = pymysql.connect(**db)
curser = conn.cursor(DictCursor)
curser.execute(

Loading…
Cancel
Save