summaryrefslogtreecommitdiffstats
path: root/parsers/logbooks.py
diff options
context:
space:
mode:
authorSam Wenham <sam@wenhams.co.uk>2020-02-21 14:26:14 +0000
committerSam Wenham <sam@wenhams.co.uk>2020-02-21 14:26:14 +0000
commit92b273e45f96ac20fb182b9166b9f0a96f16eba3 (patch)
treea4b4b1ec972d5332ea590af6e84e8f83a592cae6 /parsers/logbooks.py
parent978270b152e803f0a8f1fac09363cc9703812567 (diff)
downloadtroggle-92b273e45f96ac20fb182b9166b9f0a96f16eba3.tar.gz
troggle-92b273e45f96ac20fb182b9166b9f0a96f16eba3.tar.bz2
troggle-92b273e45f96ac20fb182b9166b9f0a96f16eba3.zip
Whitespace cleanup
Diffstat (limited to 'parsers/logbooks.py')
-rw-r--r--parsers/logbooks.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/parsers/logbooks.py b/parsers/logbooks.py
index 012d771..2f92c8e 100644
--- a/parsers/logbooks.py
+++ b/parsers/logbooks.py
@@ -166,7 +166,7 @@ def Parseloghtmltxt(year, expedition, txt):
for trippara in tripparas:
#print(" - HR detected - maybe a trip?")
logbook_entry_count += 1
-
+
s = re.match(r'''(?x)(?:\s*<div\sclass="tripdate"\sid=".*?">.*?</div>\s*<p>)? # second date
\s*(?:<a\s+id="(.*?)"\s*/>\s*</a>)?
\s*<div\s+class="tripdate"\s*(?:id="(.*?)")?>(.*?)</div>(?:<p>)?