diff options
author | Sam Wenham <sam@wenhams.co.uk> | 2019-06-26 20:56:08 +0100 |
---|---|---|
committer | Sam Wenham <sam@wenhams.co.uk> | 2019-06-26 20:56:08 +0100 |
commit | 3f78382d45c69b3d912288bbcc633711951b51b6 (patch) | |
tree | 1bdc3bf494bcdd98dd40dbfe6a30e21ae8fe9f4b /parsers/logbooks.py | |
parent | b5cca8be3b7017bc44517049ac7769501776378e (diff) | |
download | troggle-3f78382d45c69b3d912288bbcc633711951b51b6.tar.gz troggle-3f78382d45c69b3d912288bbcc633711951b51b6.tar.bz2 troggle-3f78382d45c69b3d912288bbcc633711951b51b6.zip |
Remove this stupid hard coded name match
Diffstat (limited to 'parsers/logbooks.py')
-rw-r--r-- | parsers/logbooks.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/parsers/logbooks.py b/parsers/logbooks.py index ee9a18d..12124ca 100644 --- a/parsers/logbooks.py +++ b/parsers/logbooks.py @@ -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] |