Commit db68c4b2 authored by lixiaofang's avatar lixiaofang

add

parent 38e1ae3b
......@@ -17,7 +17,7 @@ def get_data():
pc = pymysql.connect(host=host, user=user, passwd=passwd, db=db, port=3306)
cursor = pc.cursor()
cursor.execute(
"SELECT creator_id,id FROM community_pictorial ")
"SELECT creator_id,id FROM community_pictorial where is_online =True ")
data = cursor.fetchall()
topic_id = list(data)
logging.info("Database version : %s " % topic_id)
......
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