User1342 commited on
Commit
9309ea8
·
1 Parent(s): a4eb24a

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -230,7 +230,7 @@ def block_user(user_id, user, reason):
230
  while not finished:
231
 
232
  try:
233
- client.account_block(user_id)
234
  print("Blocked {} for {}".format(user, reason))
235
  except MastodonNotFoundError as e:
236
  if "Record not found" in str(e):
 
230
  while not finished:
231
 
232
  try:
233
+ client.account_block("alcinnz@floss.social")
234
  print("Blocked {} for {}".format(user, reason))
235
  except MastodonNotFoundError as e:
236
  if "Record not found" in str(e):