Skip to content

Commit

Permalink
Fix marriageplacecode
Browse files Browse the repository at this point in the history
  • Loading branch information
romjerome authored Apr 17, 2023
1 parent ebbfa0c commit 097ac7a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions GeneanetForGramps.py
Original file line number Diff line number Diff line change
Expand Up @@ -1381,13 +1381,13 @@ def random_headers():
marriageplacecode = str(marriage[s].split(',')[2][1:])
match = re.search(r'\d\d\d\d\d', marriageplacecode)
if not match:
self.marriageplacecode.append(str(marriage[s]))
self.marriageplacecode.append(_("not match"))
else:
if verbosity >= 2:
print(_("Married place code:"), self.marriageplacecode[s])
self.marriageplacecode.append(marriageplacecode)
except:
self.marriageplacecode.append(str(marriage[s]))
LOG.debug(str(marriage[s]))

cnum = 0
clist = []
Expand Down

0 comments on commit 097ac7a

Please sign in to comment.