bug fixes and coping with a list of cave ids in JSON

This commit is contained in:
Philip Sargent
2022-09-20 01:02:06 +03:00
parent 47878d264b
commit 61f9863a06
4 changed files with 24 additions and 11 deletions

View File

@@ -230,6 +230,7 @@ class LoadingSurvex():
if mteammember:
for tm in self.rx_person.split(mteammember.group(2)):
if tm:
tm = tm.strip('\"\'')
personexpedition = survexblock.expedition and GetPersonExpeditionNameLookup(survexblock.expedition).get(tm.lower())
if (personexpedition, tm) not in teammembers:
teammembers.append((personexpedition, tm))