2
0
mirror of https://expo.survex.com/repositories/troggle/.git synced 2024-11-21 23:01:52 +00:00

more fixes

This commit is contained in:
Philip Sargent 2022-10-10 01:08:37 +03:00
parent 8c8b6966a7
commit 52a035e4cf
3 changed files with 3 additions and 2 deletions

View File

@ -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

View File

@ -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))

View File

@ -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 %}