Fix: wait on async results
This commit is contained in:
parent
dfc2910d80
commit
8664a10635
@ -279,6 +279,8 @@ class CtelViewSet(viewsets.ViewSet):
|
|||||||
serializer.is_valid()
|
serializer.is_valid()
|
||||||
if report_filter[0].status == 400:
|
if report_filter[0].status == 400:
|
||||||
raise FileContentInvalidException()
|
raise FileContentInvalidException()
|
||||||
|
if report_filter[0].status == 100: # continue, only return when result is fullfilled
|
||||||
|
continue
|
||||||
|
|
||||||
if len(serializer.data) == 0:
|
if len(serializer.data) == 0:
|
||||||
continue
|
continue
|
||||||
|
Loading…
Reference in New Issue
Block a user