Browse Source

* LDV::Filebin->save : fix mistype

master
Alex 'AdUser' Z 6 years ago
parent
commit
e75610c797
  1. 2
      lib/LDV/Filebin.pm

2
lib/LDV/Filebin.pm

@ -103,7 +103,7 @@ sub save {
# make thumb
my ($th_w, $th_h) = ($conf->{thumbs_size} =~ m/(\d+)x(\d+)/oi);
my $thumb = $image->scale(xpixels => $th_w, ypixels => $th_h, type => 'min');
my $path = $self->_file_path("${time}_th", $conf->{thumbs_ext}, 'fullpath');
my $path = $self->_file_path("${time}_tn", $conf->{thumbs_ext}, 'fullpath');
$thumb->write(file => $path)
or die $thumb->errstr;
} elsif ($file->{fmime} =~ m{^video/}o) {

Loading…
Cancel
Save