mirror of
https://expo.survex.com/repositories/troggle/.git
synced 2024-11-21 23:01:52 +00:00
bugfix, name[0] may not exist
This commit is contained in:
parent
2dc8faee35
commit
e209a9bb37
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user