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

bug fix in error message

This commit is contained in:
Philip Sargent 2021-04-15 18:06:04 +01:00
parent 27491c933a
commit 540ce7c076

View File

@ -330,7 +330,7 @@ def readcave(filename):
#c.description_file="" # done only once, to clear out cruft. #c.description_file="" # done only once, to clear out cruft.
#c.save() #c.save()
else: # more than one item in long list else: # more than one item in long list
message = f' ! {slug:12} ABORT loading this cave. in "{filename}"' message = f' ! ABORT loading this cave. in "{filename}"'
DataIssue.objects.create(parser='caves', message=message, url=f'/cave/{slug}/edit/') DataIssue.objects.create(parser='caves', message=message, url=f'/cave/{slug}/edit/')
print(message) print(message)