2
0
mirror of https://expo.survex.com/repositories/troggle/.git synced 2025-12-15 00:47:12 +00:00

Fixed parsing and rendering of an entrances last visited field

This commit is contained in:
Martin Green
2023-07-26 20:40:30 +01:00
parent 6482aa697f
commit a86f251423
3 changed files with 4 additions and 75 deletions

View File

@@ -402,7 +402,7 @@ def read_entrance(filename, ent=None):
DataIssue.objects.create(parser="entrances", message=message, url=f"/cave/{slug}/edit/")
print(message)
lastvisit = getXML(entrancecontents, "last visit date", maxItems=1, minItems=0, context=context)
lastvisit = getXML(entrancecontents, "lastvisit", maxItems=1, minItems=0, context=context)
alt = getXMLmax1("alt")
approach = getXMLmax1("approach")