From f90ce8632074c5660db14b30957406ec1e839d59 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=B4me=20Rapinat?= Date: Fri, 15 Oct 2010 17:47:10 +0000 Subject: [PATCH] #4264: import ignores marriage and divorce dates (.gw file) svn: r15995 --- src/plugins/import/ImportGeneWeb.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/plugins/import/ImportGeneWeb.py b/src/plugins/import/ImportGeneWeb.py index 1ad998cdf..ed0b6972d 100644 --- a/src/plugins/import/ImportGeneWeb.py +++ b/src/plugins/import/ImportGeneWeb.py @@ -431,9 +431,11 @@ class GeneWebParser(object): field = fields[idx] idx += 1 if field.startswith("+"): + field = field[1:] mar_date = self.parse_date(self.decode(field)) LOG.debug(" Married at: %s" % field) elif field.startswith("-"): + field = field[1:] div_date = self.parse_date(self.decode(field)) LOG.debug(" Div at: %s" % field) elif field == "#mp" and idx < len(fields):