From cd5102eac5965221f61ceaf5af252fd8fe907c0d Mon Sep 17 00:00:00 2001 From: Jeremy Friesen Date: Mon, 27 Nov 2023 17:29:34 -0500 Subject: [PATCH] =?UTF-8?q?=F0=9F=90=9B=20Fix=20logic=20bug=20regarding=20?= =?UTF-8?q?splitting=20job?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: Kirk Wang --- lib/iiif_print/jobs/request_split_pdf_job.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/iiif_print/jobs/request_split_pdf_job.rb b/lib/iiif_print/jobs/request_split_pdf_job.rb index f1076c5f..e11ad4a0 100644 --- a/lib/iiif_print/jobs/request_split_pdf_job.rb +++ b/lib/iiif_print/jobs/request_split_pdf_job.rb @@ -8,7 +8,7 @@ class RequestSplitPdfJob < IiifPrint::Jobs::ApplicationJob # @param user [User] # rubocop:disable Metrics/MethodLength def perform(file_set:, user:) - return true if file_set.pdf? + return true unless file_set.pdf? work = IiifPrint.parent_for(file_set)