diff --git a/parsers/people.py b/parsers/people.py index b61ba0a..6a4456b 100644 --- a/parsers/people.py +++ b/parsers/people.py @@ -151,6 +151,7 @@ def GetPersonExpeditionNameLookup(expedition): variations.append(f + " " + l) variations.append(f + " " + l[0]) variations.append(f + l[0]) + variations.append(f + l[0] + '.') variations.append(f[0] + " " + l) variations.append(f[0] + l) variations.append(f[0] + l[0]) # initials e.g. gb or bl diff --git a/parsers/survex.py b/parsers/survex.py index ee9b5bc..714ba67 100644 --- a/parsers/survex.py +++ b/parsers/survex.py @@ -378,7 +378,7 @@ class LoadingSurvex(): pr.save() self.currentpersonexped.append(pe) # used in push/pop block code else: - message = "! *team {} '{}' FAIL personexpedition lookup on *date {} ({}) '{}'".format(year, pr, survexblock.survexfile.path, survexblock, pr.personname) + message = "! *team {} '{}' FAIL personexpedition lookup on *date {} ({}) '{}'".format(year, pr.personname, survexblock.survexfile.path, survexblock, pr.personname) print(self.insp+message) DataIssue.objects.create(parser='survex', message=message, url=get_offending_filename(survexblock.survexfile.path)) diff --git a/templates/aliases.html b/templates/aliases.html index 23a7d5f..7820c1c 100644 --- a/templates/aliases.html +++ b/templates/aliases.html @@ -1,5 +1,5 @@ {% extends "base.html" %} -{% block title %}Cave Entrances and other locations in UTM{% endblock %} +{% block title %}Aliases for people's names - for debugging {% endblock %} {% block content %}