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

Fix #9237
This commit is contained in:
Eugen Rochko
2018-11-23 22:13:34 +01:00
parent 0f436de035
commit 63f168c3bf
+1 -1
View File
@@ -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