Commit 33ed7ede authored by lixiaofang's avatar lixiaofang

add

parent e756ffe5
...@@ -49,6 +49,7 @@ def get_data(num1, num2): ...@@ -49,6 +49,7 @@ def get_data(num1, num2):
data = cursor.fetchall() data = cursor.fetchall()
topic_id = list(data) topic_id = list(data)
if topic_id:
topic_id_list = [] topic_id_list = []
for i in topic_id[1]: for i in topic_id[1]:
cursor.execute( cursor.execute(
...@@ -70,7 +71,7 @@ if __name__ == "__main__": ...@@ -70,7 +71,7 @@ if __name__ == "__main__":
try: try:
time_list = [[0, 100], [100, 200]] time_list = [[0, 10000], [10000, 20000]]
# [10000, 20000], # [10000, 20000],
# [20000, 30000], # [20000, 30000],
# ["2017-03-30 15:57:49.000000", "2016-03-30 15:57:49.000000"], # ["2017-03-30 15:57:49.000000", "2016-03-30 15:57:49.000000"],
......
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