Commit 81f25b96 authored by lixiaofang's avatar lixiaofang

add

parent d0c25ec0
...@@ -23,7 +23,7 @@ if __name__ == "__main__": ...@@ -23,7 +23,7 @@ if __name__ == "__main__":
cursor = pc.cursor() cursor = pc.cursor()
cursor.execute( cursor.execute(
"SELECT id,user_id FROM topic WHERE id in %d and user_id in (select user_id from user_extra where is_shadow = 0)", "SELECT id,user_id FROM topic WHERE id in %d and user_id in (select user_id from user_extra where is_shadow = 0)",
(id)) ([831338,831336]))
data = cursor.fetchall() data = cursor.fetchall()
topic_id_list = list(data) topic_id_list = list(data)
logging.info("Database version : %s " % topic_id_list) 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