summaryrefslogtreecommitdiffstats
path: root/core/models/troggle.py
diff options
context:
space:
mode:
authorPhilip Sargent <philip.sargent@gmail.com>2022-12-17 17:05:55 +0000
committerPhilip Sargent <philip.sargent@gmail.com>2022-12-17 17:05:55 +0000
commit73b710d53f0ea4fb4c1693679732e19a53530d1d (patch)
treec0ed360ae029af40a2b8d63394847dce83a8d909 /core/models/troggle.py
parent0a4471e039ce756d207d24733e0095352d32febb (diff)
downloadtroggle-73b710d53f0ea4fb4c1693679732e19a53530d1d.tar.gz
troggle-73b710d53f0ea4fb4c1693679732e19a53530d1d.tar.bz2
troggle-73b710d53f0ea4fb4c1693679732e19a53530d1d.zip
fix more logbook parsing
Diffstat (limited to 'core/models/troggle.py')
-rw-r--r--core/models/troggle.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/models/troggle.py b/core/models/troggle.py
index b118d78..f29483d 100644
--- a/core/models/troggle.py
+++ b/core/models/troggle.py
@@ -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)