Skip to content

Commit

Permalink
Update lib/ProductOpener/Import.pm
Browse files Browse the repository at this point in the history
Co-authored-by: Pierre Slamich <[email protected]>
  • Loading branch information
stephanegigandet and teolemon authored Jan 15, 2025
1 parent f340db6 commit 4d4dc45
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/ProductOpener/Import.pm
Original file line number Diff line number Diff line change
Expand Up @@ -337,7 +337,7 @@ sub upload_images_for_product($args_ref, $images_ref, $product_ref, $imported_pr
# upload the image
my $file = $images_ref->{$imagefield};

# Skip PDF file has we have issues to convert them, and they are sometimes not images about the product
# Skip PDF file, as we have issues to convert them, and they are sometimes not images about the product
# but multi-pages product sheets, certificates etc.
if ($file =~ /\.pdf$/) {
$log->debug("skipping PDF file", {file => $file, imagefield => $imagefield, code => $code})
Expand Down

0 comments on commit 4d4dc45

Please sign in to comment.