Commit 63f168c3 authored by Eugen Rochko's avatar Eugen Rochko
Browse files

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

Fix #9237
parent 0f436de0
Showing with 1 addition and 1 deletion
+1 -1
......@@ -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
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment