Skip to content
Snippets Groups Projects
Unverified Commit 16a16f62 authored by Eugen Rochko's avatar Eugen Rochko Committed by GitHub
Browse files

Fix nil error regression from #9229 in tootctl media remove (#9239)

Fix #9237
parent 46155122
No related branches found
No related tags found
No related merge requests found
......@@ -53,7 +53,7 @@ module Mastodon
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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment