mirror of
https://expo.survex.com/repositories/troggle/.git
synced 2024-11-22 07:11:52 +00:00
more fix
This commit is contained in:
parent
1b44bc2867
commit
c518fbc5af
@ -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)
|
Loading…
Reference in New Issue
Block a user