diff --git a/.gitignore b/.gitignore
index b6afdb2a2eda3babe930cf5b4a66a982d2a8c335..ed94bd7658db4631389692bf5e1ca69adc49d325 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1,2 @@
-photo_stats.db
+*.db
+*.sqlite
diff --git a/phosta.pl b/phosta.pl
index f314a68b6953e6d4f7becef7e99459b73b56648e..db891a7da49dd22f25a1ff5a44ace6cb7727b87b 100755
--- a/phosta.pl
+++ b/phosta.pl
@@ -101,7 +101,7 @@ sub populate_db
{
my ($destination_dir) = @_;
- say "Scanning $destination_dir for images...";
+ say "Scanning $destination_dir for images...this may take a while...";
my $extensions = ' -ext ' . join(' -ext ', split(/\,/, $opt_E)) .' ';
@@ -125,6 +125,8 @@ if ( $model ~~ @forbidden_content) { $model = '-'; }
$lens = ($lens ~~ @forbidden_content) ? $lensmodel : $lens;
if ( $lens ~~ @forbidden_content) { $lens = '-'; }
$apert = ($apert ne '-') ? sprintf("%.1f", $apert) : $apert;
+ $fl = ($fl ne '-') ? sprintf("%.1f", $fl) : $fl;
+ $fl35 = ($fl35 ne '-') ? POSIX::lround($fl35) : $fl35;
$exposuretime = (looks_like_number($exposuretime) && $exposuretime < 1) ? "1/". POSIX::lround(1/$exposuretime) : $exposuretime;
if ($datetimeoriginal eq '0000:00:00 00:00:00') { $datetimeoriginal = '-'; }