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: for s in issues:
print(f" # {s.id=} DataIssues '{parsercode}' {message}") # .id is Django internal field, not one of ours print(f" # {s.id=} DataIssues '{parsercode}' {message}") # .id is Django internal field, not one of ours
message = "#2 " + message message = "#2 " + message
issues[0].message = message if len(issues) > 0:
issues[0].save() i = issues[0]
i.message = message
i.save()
else:
DataIssue.objects.create(parser=parsercode, message=message)