forked from expo/troggle
bug in python 3.9?
This commit is contained in:
parent
5cc6c26606
commit
5e9fd7fd77
@ -524,7 +524,11 @@ def parser_blog(year, expedition, txt):
|
||||
break
|
||||
datestamp = match_datetime.group(1)
|
||||
|
||||
try:
|
||||
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
|
||||
|
Loading…
Reference in New Issue
Block a user