From 284e044a03caccab0d5dfa2cd1ac56949b80c20b Mon Sep 17 00:00:00 2001 From: Philip Sargent Date: Sun, 14 Aug 2022 22:52:14 +0300 Subject: Fix wallets scan upload faults --- parsers/scans.py | 34 +++++++++++++++++----------------- 1 file changed, 17 insertions(+), 17 deletions(-) (limited to 'parsers/scans.py') diff --git a/parsers/scans.py b/parsers/scans.py index 6439549..400bd74 100644 --- a/parsers/scans.py +++ b/parsers/scans.py @@ -21,7 +21,7 @@ from troggle.core.views.scans import datewallet ''' contentsjson = "contents.json" -indexhtml = "walletindex.html" +#indexhtml = "walletindex.html" git = settings.GIT # to do: create a 'low priority' field, so that any such wallet does not appear in summary reports @@ -44,22 +44,22 @@ wallet_blank_json = { "survex not required": False, "website updated": False} -wallet_blank_html = '''

Wallet WALLET

-

List of trips: expedition/YEAR -- troggle-processed .svx files and logbook entries on server

-

Date:

People: Unknown,

-

Cave Guidebook description -- A description is indicated as being needed, so may need adding into this cave page. -

Survex file: not identified yet -

Issues

-

The description needs writing

-

The QMs needs writing

The website is marked as needing updating (using the guidebook description)

-

Tunnel / Therion drawing files need drawing

-

Files

- - -''' +# wallet_blank_html = '''

Wallet WALLET

+#

List of trips: expedition/YEAR +# - troggle-processed .svx files and logbook entries on server

+#

Date:

People: Unknown,

+#

Cave Guidebook description +# - A description is indicated as being needed, so may need adding into this cave page. +#

Survex file: not identified yet +#

Issues

+#

The description needs writing

+#

The QMs needs writing

The website is marked as needing updating (using the guidebook description)

+#

Tunnel / Therion drawing files need drawing

+#

Files

+# +# +# ''' def CheckEmptyDate(wallet): '''If date is not set, get it from a linked survex file. -- cgit v1.2.3