fix more logbook parsing

This commit is contained in:
2022-12-17 17:05:55 +00:00
parent 0a4471e039
commit 73b710d53f
3 changed files with 9 additions and 6 deletions

View File

@@ -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)