]> git.sesse.net Git - pr0n/blobdiff - perl/Sesse/pr0n/Common.pm
Push v2.51 -- too many bugfixes to let the version number stay.
[pr0n] / perl / Sesse / pr0n / Common.pm
index d2dcd7da04f61fe2e3347cce9223c380d324c57e..acf43737098017210cc4dbb9227bb799ea424354 100644 (file)
@@ -35,7 +35,7 @@ BEGIN {
                require Sesse::pr0n::Config_local;
        };
 
-       $VERSION     = "v2.49";
+       $VERSION     = "v2.51";
        @ISA         = qw(Exporter);
        @EXPORT      = qw(&error &dberror);
        %EXPORT_TAGS = qw();
@@ -259,9 +259,9 @@ sub update_image_info {
                }
 
                # Model/Lens
-               my $model = $exiftool->GetValue('Model', 'ValueConv');
-               my $lens = $exiftool->GetValue('Lens', 'ValueConv');
-               $lens = $exiftool->GetValue('LensSpec', 'ValueConv') if (!defined($lens));
+               my $model = $exiftool->GetValue('Model', 'PrintConv');
+               my $lens = $exiftool->GetValue('Lens', 'PrintConv');
+               $lens = $exiftool->GetValue('LensSpec', 'PrintConv') if (!defined($lens));
 
                $model =~ s/^\s*//;
                $model =~ s/\s*$//;