diff options
Diffstat (limited to 'parsers/logbooks.py')
-rw-r--r-- | parsers/logbooks.py | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/parsers/logbooks.py b/parsers/logbooks.py index 2f92c8e..5bbbd98 100644 --- a/parsers/logbooks.py +++ b/parsers/logbooks.py @@ -32,6 +32,7 @@ def GetTripPersons(trippeople, expedition, logtime_underground): round_bracket_regex = re.compile(r"[\(\[].*?[\)\]]") for tripperson in re.split(r",|\+|&|&(?!\w+;)| and ", trippeople): tripperson = tripperson.strip() + tripperson = tripperson.strip('.') mul = re.match(r"<u>(.*?)</u>$(?i)", tripperson) if mul: tripperson = mul.group(1).strip() @@ -183,9 +184,6 @@ def Parseloghtmltxt(year, expedition, txt): continue tripid, tripid1, tripdate, trippeople, triptitle, triptext, tu = s.groups() ldate = ParseDate(tripdate.strip(), year) - #assert tripid[:-1] == "t" + tripdate, (tripid, tripdate) - #trippeople = re.sub(r"Ol(?!l)", "Olly", trippeople) - #trippeople = re.sub(r"Wook(?!e)", "Wookey", trippeople) triptitles = triptitle.split(" - ") if len(triptitles) >= 2: tripcave = triptitles[0] |