yuripeyamashita commited on
Commit
53558ec
1 Parent(s): da3b0f7

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +7 -6
app.py CHANGED
@@ -38,14 +38,15 @@ def api():
38
  users_number = get_users_number()
39
 
40
  users = list({item["user_id"] for item in message_list.values()})
41
- if len(users) != users_number:
42
- users.append("others")
 
43
 
44
- matrix = [[0 for _ in range(users)] for _ in range(users)]
45
- print(matrix)
46
 
47
- for msg_id in message_list:
48
- print([key for key, value in message_list.items() if value.get("quoted_msg_id") == msg_id])
49
 
50
  # users.index("b")
51
 
 
38
  users_number = get_users_number()
39
 
40
  users = list({item["user_id"] for item in message_list.values()})
41
+ print(users)
42
+ # if len(users) != users_number:
43
+ # users.append("others")
44
 
45
+ # matrix = [[0 for _ in range(users)] for _ in range(users)]
46
+ # print(matrix)
47
 
48
+ # for msg_id in message_list:
49
+ # print([key for key, value in message_list.items() if value.get("quoted_msg_id") == msg_id])
50
 
51
  # users.index("b")
52