mirror of
https://expo.survex.com/repositories/troggle/.git
synced 2024-11-25 08:41:51 +00:00
missing print msg
This commit is contained in:
parent
2544bc5f3d
commit
e4ee4abce8
@ -658,7 +658,11 @@ def LoadLogbooks():
|
||||
DataIssue.objects.filter(parser='logbooks').delete()
|
||||
expos = Expedition.objects.all()
|
||||
if len(expos) <= 1:
|
||||
print(" ! No expeditions found. Load 'people' first.\n")
|
||||
message = f" ! - No expeditions found. Load 'people' first"
|
||||
DataIssue.objects.create(parser='logbooks', message=message)
|
||||
logdataissues[f"sqlfail 0000"]=message
|
||||
print(message)
|
||||
|
||||
noexpo = ["1986", "2020", "2021",] #no expo
|
||||
lostlogbook = ["1976", "1977", "1978", "1979", "1980", "1981"]
|
||||
sqlfail = ["1987", "1988", "1989"] # breaks mysql with db constraint fail - debug locally first]
|
||||
@ -684,6 +688,7 @@ def LoadLogbooks():
|
||||
message = f" ! - Not even attempting to parse logbook for {expo.year} until code fixed"
|
||||
DataIssue.objects.create(parser='logbooks', message=message)
|
||||
logdataissues[f"sqlfail {expo.year}"]=message
|
||||
print(message)
|
||||
|
||||
if expo.year not in nologbook:
|
||||
print((" - Logbook for: " + expo.year))
|
||||
|
@ -1,3 +1,4 @@
|
||||
<!-- expobase.html - this text visible because this template has been included -->
|
||||
{% autoescape off %}
|
||||
<html>
|
||||
<head>
|
||||
|
@ -1,3 +1,4 @@
|
||||
<!-- frontpage.html - this text visible because this template has been included -->
|
||||
{% extends "base.html" %}
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user