Fix people list

Cope with Jimmy McFoo as a name!
Don't set the top expo value in the code whin it is piss easy to calculate
Fix typo from last commit
This commit is contained in:
Sam Wenham
2019-03-09 18:21:10 +00:00
parent 1bac650aee
commit b4296f1736
5 changed files with 11 additions and 6 deletions

View File

@@ -304,7 +304,7 @@ def LoadLogbookForExpedition(expedition):
parsefunc = settings.DEFAULT_LOGBOOK_PARSER
except (IOError):
logbook_parseable = False
print("Couldn't open default logbook file and nothing set for expo " + expo.year)
print("Couldn't open default logbook file and nothing set for expo " + expedition.year)
if logbook_parseable:
parser = globals()[parsefunc]