Show coordinates for entrance

Use filter to find coordinates
This commit is contained in:
Sam Wenham
2020-02-22 15:38:22 +00:00
parent de22b071b0
commit 505bc48331
5 changed files with 22 additions and 12 deletions

View File

@@ -178,7 +178,7 @@ def RecursiveLoad(survexblock, survexfile, fin, textlines):
print('QM res station %s' % qm_resolve_station)
print('QM notes %s' % qm_notes)
# If the QM isn't resolved (has a resolving station) thn load it
# If the QM isn't resolved (has a resolving station) then load it
if not qm_resolve_section or qm_resolve_section is not '-' or qm_resolve_section is not 'None':
from_section = models.SurvexBlock.objects.filter(name=qm_from_section)
# If we can find a section (survex note chunck, named)