pixiv: fix failure to upload bad pixiv id images (fix #4031)
Bug: Uploading bad pixiv id images failed because the pixiv strategy raised a BadIDError exception when the upload service checked for the ugoira frame data.
This commit is contained in:
@@ -229,7 +229,7 @@ class UploadService
|
||||
retry
|
||||
end
|
||||
|
||||
if download.data[:ugoira_frame_data]
|
||||
if download.data[:ugoira_frame_data].present?
|
||||
upload.context = {
|
||||
"ugoira" => {
|
||||
"frame_data" => download.data[:ugoira_frame_data],
|
||||
|
||||
Reference in New Issue
Block a user