2
0
mirror of https://expo.survex.com/repositories/troggle/.git synced 2024-11-22 07:11:52 +00:00

bugfix, name[0] may not exist

This commit is contained in:
Philip Sargent 2023-08-31 19:17:44 +03:00
parent 2dc8faee35
commit e209a9bb37

View File

@ -106,7 +106,7 @@ def store_edited_entry_into_database(date, place, title, text, others, author, t
team.append(author)
for name in team:
name = name.strip()
if name[0] != "*": # a name prefix of "*" is special, just a string.
if len(name) > 0 and name[0] != "*": # a name prefix of "*" is special, just a string.
try:
personyear = GetPersonExpeditionNameLookup(expedition).get(name.lower())
if not personyear: