Commit 657cd504 authored by 张彦钊's avatar 张彦钊

modify get city list function

parent 8693d082
......@@ -35,7 +35,6 @@ def get_cityList():
cityList = con_sql(sql)
cityList.to_csv(DIRECTORY_PATH + "diaryTestSet/cityList.csv",index=False)
cityList = cityList[0].values.tolist()
cityList.remove('worldwide')
print("成功获取全国城市列表")
return cityList
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment