Skip to content

Commit

Permalink
Merge pull request #144 from hathitrust/merge-jobmetrics-off-by-1
Browse files Browse the repository at this point in the history
BUG: math off by 1, corrected
  • Loading branch information
mwarin authored Jul 25, 2024
2 parents 175ef5b + 4874d0c commit 79ae60e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/HTFeed/Stage/ImageRemediate.pm
Original file line number Diff line number Diff line change
Expand Up @@ -862,7 +862,7 @@ sub expand_other_file_formats {
my $infile = "$path/$file";
my @parts = fileparse($infile, @other_recognized_formats);
my $outname = $parts[0];
my $ext = $parts[1];
my $ext = $parts[2];
my $outfile = "$path/$outname.tif";
my $start_time = $self->{job_metrics}->time;
my $cmd = "$imagemagick_cmd -compress None $infile -strip $outfile";
Expand Down

0 comments on commit 79ae60e

Please sign in to comment.