mirror of
https://expo.survex.com/repositories/troggle/.git
synced 2024-11-22 07:11:52 +00:00
Just commit the logbook parser this time (can we move to git now!!!)
This commit is contained in:
parent
822359fe51
commit
424219fb6f
@ -172,8 +172,8 @@ def Parseloghtmltxt(year, expedition, txt):
|
||||
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)
|
||||
#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]
|
||||
|
Loading…
Reference in New Issue
Block a user