Fix regression due to ee69d58a59.

This commit is contained in:
Guo Xiang Tan 2018-03-28 16:34:28 +08:00
parent 6e569e5bfd
commit 90f91bf017
1 changed files with 2 additions and 2 deletions

View File

@ -78,11 +78,11 @@ module Jobs
log(:info, "Failed to pull hotlinked image for post: #{post_id}: #{src} - #{upload.errors.full_messages.join("\n")}")
end
else
large_images << remove_scheme(src)
large_images << remove_scheme(original_src)
has_new_large_image = true
end
else
broken_images << remove_scheme(src)
broken_images << remove_scheme(original_src)
has_new_broken_image = true
end
end