return instead of continue
This commit is contained in:
parent
3adf38105e
commit
634a0bbd30
|
@ -216,7 +216,7 @@ def fetch_and_import_stages(harvester, obj):
|
|||
obj.state = "ERROR"
|
||||
obj.save()
|
||||
if obj.report_status:
|
||||
continue
|
||||
return
|
||||
if obj.state == 'ERROR':
|
||||
obj.report_status = 'errored'
|
||||
elif obj.current == False:
|
||||
|
|
Loading…
Reference in New Issue