forked from expo/troggle
bug in python 3.9?
This commit is contained in:
parent
5cc6c26606
commit
5e9fd7fd77
@ -524,8 +524,12 @@ def parser_blog(year, expedition, txt):
|
|||||||
break
|
break
|
||||||
datestamp = match_datetime.group(1)
|
datestamp = match_datetime.group(1)
|
||||||
|
|
||||||
tripdate = datetime.fromisoformat(datestamp)
|
try:
|
||||||
# print(f" - tid: {tid} '{trippeople}' '{tripdate}'")
|
tripdate = datetime.fromisoformat(datestamp)
|
||||||
|
except:
|
||||||
|
print(datestamp[0:9])
|
||||||
|
tripdate = datetime.fromisoformat(datestamp[0:10])
|
||||||
|
# print(f" - tid: {tid} '{trippeople}' '{tripdate}'")
|
||||||
|
|
||||||
tripname = f"UK Caving Blog post {logbook_entry_count}" # must be unique for a given date
|
tripname = f"UK Caving Blog post {logbook_entry_count}" # must be unique for a given date
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user