Skip outdated request files
This commit is contained in:
parent
1075eacd7b
commit
402ba4c5b6
@ -827,6 +827,8 @@ def calculate_a_request(report, request):
|
||||
images = SubscriptionRequestFile.objects.filter(request=request, file_category=FileCategory.Origin.value)
|
||||
report_files = []
|
||||
for image in images:
|
||||
if image.processing_time < 0:
|
||||
continue
|
||||
status, att = calculate_subcription_file(image)
|
||||
att["acc"]["feedback"], fb_max_indexes = acc_maximize_list_values(att["acc"]["feedback"])
|
||||
att["acc"]["reviewed"], rv_max_indexes = acc_maximize_list_values(att["acc"]["reviewed"])
|
||||
|
Loading…
Reference in New Issue
Block a user