forked from expo/troggle
fix more logbook parsing
This commit is contained in:
@@ -90,7 +90,7 @@ class Expedition(TroggleModel):
|
||||
if len(expeditiondays) == 1:
|
||||
return expeditiondays[0]
|
||||
else:
|
||||
message =f'! - more than one datum in an expeditionday: {date}'
|
||||
message =f'! - More than one expeditionday for the same date: {date} .\n - This should never happen. \n - Restart mysql and run reset to clean database.'
|
||||
DataIssue.objects.create(parser='expedition', message=message)
|
||||
return expeditiondays[0]
|
||||
res = ExpeditionDay(expedition=self, date=date)
|
||||
|
||||
Reference in New Issue
Block a user