Skip to content

Commit

Permalink
Added missing parenthesis
Browse files Browse the repository at this point in the history
  • Loading branch information
nigelhorne committed Jan 8, 2020
1 parent 2183402 commit cebb3ff
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions ged2site
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#!/usr/bin/env perl

# Author Nigel Horne: njh@bandsman.co.uk
# Copyright (C) 2015-2019, Nigel Horne
# Copyright (C) 2015-2020, Nigel Horne

# Usage is subject to licence terms.
# The licence terms of this software are as follows:
Expand Down Expand Up @@ -43,6 +43,7 @@ BEGIN {
'Geo::Coder::List 0.26', 'Gedcom', 'Genealogy::Gedcom::Date',
'Date::Parse', 'Geo::Coder::List', 'Geo::Coder::Free',
'IPC::System::Simple', 'Geo::Coder::Ovi', 'String::Compare',
'Genealogy::Gedcom::Date',
'Geo::Coder::RandMcnally', 'Geo::Coder::US::Census',
'Geo::Coder::OSM', 'Geo::Coder::XYZ', 'Geo::Coder::CA',
'Geo::Coder::Postcodes', 'Geo::Coder::OpenCage', 'Geo::Coder::GooglePlaces',
Expand Down Expand Up @@ -121,7 +122,6 @@ use autodie qw(:all);
# }

# use Lingua::EN::AddressParse;
use Genealogy::Gedcom::Date;
use DateTime::Duration;
use Geo::Coder::DataScienceToolkit;
use Geo::Coder::Free::OpenAddresses;
Expand Down Expand Up @@ -2312,7 +2312,7 @@ sub print_person
my @occupations = get_all_occupations($mother);
# TODO: print all occupations
if($occupations[0]) {
$all->print(' ', Lingua::EN::Inflect::A(lc($occupations[0])), ')');
$all->print(' (', Lingua::EN::Inflect::A(lc($occupations[0])), ')');
}
$fullbio .= ' ' . $mother->as_string();
if($opts{'w'} && $birth_dt && (my $mdod = dateofdeath($mother))) {
Expand Down

0 comments on commit cebb3ff

Please sign in to comment.