From f4c25ba1638917f13e007fee34e5c76acca654e4 Mon Sep 17 00:00:00 2001 From: Philip Sargent Date: Sun, 14 Jul 2024 13:29:21 +0200 Subject: [PATCH] bugfix --- parsers/caves.py | 1 + 1 file changed, 1 insertion(+) diff --git a/parsers/caves.py b/parsers/caves.py index 0a5f2b2..d2327e0 100644 --- a/parsers/caves.py +++ b/parsers/caves.py @@ -638,6 +638,7 @@ def read_cave(filename, mvf=None, cave=None): What is Class CaveAndEntrance for? It was to allow mandy<=>many relationship between caves and entrances, but now we insist only one Cave for any Entrance, so this Class is reduncdant and should be removed.. """ + c = cave for e in entrances: eslug = getXML(e, "entranceslug", maxItems=1, context=context)[0]