about summary refs log tree commit diff
diff options
context:
space:
mode:
authorThibG <thib@sitedethib.com>2021-01-29 18:38:56 +0100
committerGitHub <noreply@github.com>2021-01-29 18:38:56 +0100
commit13d5b8157904b2eb6b7f43e3fb834fca2f38f0dd (patch)
tree44b95f2084ff9aa2ab926f137a7a6c4f528f7c3d
parentb4281f5a51c8c54891b7a74e9573faec6871a460 (diff)
Fix “tootctl accounts unfollow” (#15639)
Fixes #15635

Co-authored-by: Claire <claire.github-309c@sitedethib.com>
-rw-r--r--lib/mastodon/accounts_cli.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/mastodon/accounts_cli.rb b/lib/mastodon/accounts_cli.rb
index 653bfca30..74162256f 100644
--- a/lib/mastodon/accounts_cli.rb
+++ b/lib/mastodon/accounts_cli.rb
@@ -402,7 +402,7 @@ module Mastodon
         exit(1)
       end
 
-      parallelize_with_progress(target_account.followers.local) do |account|
+      processed, = parallelize_with_progress(target_account.followers.local) do |account|
         UnfollowService.new.call(account, target_account)
       end