Commit e21c7acd authored by 张彦钊's avatar 张彦钊

change get_active_users return argument

parent 3e620580
......@@ -14,7 +14,7 @@ def get_active_users():
device_id_df = con_sql(sql)
if device_id_df.empty:
print("当下这一分钟没有活跃用户,不需要预测")
return True,None
return True,[1,2]
else:
device_id_list = device_id_df[0].values.tolist()
# 对device_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