Importing old logbooks

This commit is contained in:
Philip Sargent
2021-02-06 00:18:48 +00:00
parent a4d7183260
commit 5836c6ff90
6 changed files with 356 additions and 48 deletions

View File

@@ -5,6 +5,12 @@ from utils import save_carefully
from html.parser import HTMLParser
from unidecode import unidecode
'''These functions do not match how the stand-alone script works. So the script produces an HTML file which has
href links to pages in troggle which troggle does not think are right.
The standalone script needs to be renedred defucnt, and all the parsing needs to be in troggle. Either that,
or they should use the same code by importing a module.
'''
def parseMugShotAndBlurb(personline, header, person):
"""create mugshot Photo instance"""
mugShotFilename=personline[header["Mugshot"]]