2
0
mirror of https://expo.survex.com/repositories/troggle/.git synced 2024-11-22 07:11:52 +00:00
This commit is contained in:
Philip Sargent 2024-02-05 21:27:04 +00:00
parent 1b44bc2867
commit c518fbc5af

View File

@ -742,5 +742,9 @@ def update_dataissue(parsercode, message):
for s in issues:
print(f" # {s.id=} DataIssues '{parsercode}' {message}") # .id is Django internal field, not one of ours
message = "#2 " + message
issues[0].message = message
issues[0].save()
if len(issues) > 0:
i = issues[0]
i.message = message
i.save()
else:
DataIssue.objects.create(parser=parsercode, message=message)