Commit 7552a008 authored by lixiaofang's avatar lixiaofang

add

parent 2cdde6c0
......@@ -42,7 +42,7 @@ def get_data(now, noww):
for id in topic_id:
cursor.execute(
"select user_id,is_shadow from user_extra where user_id =" + str(
id[0]) + " and is_online =1 and is_deleted =0")
id[1]) + " and is_online =1 and is_deleted =0")
data = cursor.fetchall()
user_id = list(data)
if user_id and user_id[0][1] == 1:
......
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