User1342 commited on
Commit
f1b9e75
·
1 Parent(s): 26005ae

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -129,8 +129,8 @@ def check_connected_users(username):
129
  # Loop through all users that the target user is following
130
  following = client.get_users_following(id=user_id, max_results=1000).data
131
  # Only take at a maximum the last x following
132
- if len(following) >= 10:
133
- following = following[:10]
134
 
135
  for user in following:
136
  success = False
 
129
  # Loop through all users that the target user is following
130
  following = client.get_users_following(id=user_id, max_results=1000).data
131
  # Only take at a maximum the last x following
132
+ if len(following) >= 50:
133
+ following = following[:50]
134
 
135
  for user in following:
136
  success = False