Commit 3b7bd617 authored by 张彦钊's avatar 张彦钊

change test file

parent 179a52c1
...@@ -192,7 +192,7 @@ def to_data_base(): ...@@ -192,7 +192,7 @@ def to_data_base():
cursor = db.cursor() cursor = db.cursor()
sql = "select device_id from esmm_device_diary_queue limit 6" sql = "select device_id from esmm_device_diary_queue limit 6"
cursor.execute(sql) cursor.execute(sql)
result = cursor.fetchall() result = cursor.fetchone()
print(result) print(result)
print(set(result)) print(set(result))
db.close() db.close()
......
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