mirror of
https://expo.survex.com/repositories/troggle/.git
synced 2025-12-19 11:07:28 +00:00
bugfix, name[0] may not exist
This commit is contained in:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user