Skip to content
This repository has been archived by the owner on Dec 21, 2023. It is now read-only.

Commit

Permalink
Fix nil error regression from mastodon#9229 in tootctl media remove (m…
Browse files Browse the repository at this point in the history
  • Loading branch information
Gargron authored Nov 8, 2018
1 parent 4615512 commit 16a16f6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/mastodon/media_cli.rb
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ def remove
Maintenance::UncacheMediaWorker.new.perform(m) unless options[:dry_run]
options[:verbose] ? say(m.id) : say('.', :green, false)
processed += 1
size += m.file_file_size
size += m.file_file_size || 0
end
end
end
Expand Down

0 comments on commit 16a16f6

Please sign in to comment.