master
Micke Nordin 4 年前
父节点 a2077857e7
当前提交 6e00dae91b

@ -86,7 +86,7 @@ mydb = mysql.connector.connect(auth_plugin='mysql_native_password',
cursor = mydb.cursor()
date_select = ("SELECT DISTINCT `date` " "FROM weather ")
date_select = ("SELECT DISTINCT `date` FROM weather WHERE station = {}".format(station))
s_name = ""
cursor.execute(date_select)
dates = cursor.fetchall()

正在加载...
取消
保存