mirror of
https://expo.survex.com/repositories/troggle/.git
synced 2025-12-13 22:17:07 +00:00
catch unknown scotsman error
This commit is contained in:
@@ -447,11 +447,14 @@ def LoadLogbookForExpedition(expedition, expect):
|
||||
|
||||
if expedition.year in yearlinks:
|
||||
logbookfile = os.path.join(expologbase, yearlinks[expedition.year][0])
|
||||
expedition.logbookfile = yearlinks[expedition.year][0]
|
||||
parsefunc = yearlinks[expedition.year][1]
|
||||
else:
|
||||
logbookfile = os.path.join(expologbase, expedition.year, settings.DEFAULT_LOGBOOK_FILE)
|
||||
expedition.logbookfile = settings.DEFAULT_LOGBOOK_FILE
|
||||
parsefunc = settings.DEFAULT_LOGBOOK_PARSER
|
||||
cache_filename = logbookfile + ".cache"
|
||||
expedition.save()
|
||||
|
||||
try:
|
||||
bad_cache = False
|
||||
|
||||
Reference in New Issue
Block a user