Commit 9dff4301 authored by lixiaofang's avatar lixiaofang

add

parent df5ab013
......@@ -20,11 +20,14 @@ def get_topic_id(numtime):
)
data = cursor.fetchall()
topic_id = list(data)
logging.info("Database version : %s " % topic_id)
user_list = get_user_id()
topic_id_list = []
if topic_id:
for i in topic_id:
if int(i[1]) in user_list:
print("----:%s---"%i[1])
topic_id_list.append(i)
logging.info("Database version : %s " % topic_id_list)
......
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