yuripeyamashita commited on
Commit
6abbd80
·
verified ·
1 Parent(s): 8d13b89

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -42,7 +42,7 @@ def api():
42
  users.append("others")
43
  print(users)
44
 
45
- matrix = [[0 for _ in range(users)] for _ in range(users)]
46
  print(matrix)
47
 
48
  for msg_id in message_list:
 
42
  users.append("others")
43
  print(users)
44
 
45
+ matrix = [[0 for _ in range(len(users))] for _ in range(len(users))]
46
  print(matrix)
47
 
48
  for msg_id in message_list: