We don't need CLASSIFIED logic since its handled in mission_owner_sections

This commit is contained in:
George Drummond 2019-02-01 13:49:46 -05:00
parent a92cbbaac6
commit 4daadf59d2
No known key found for this signature in database
GPG Key ID: 296DD6077123BF17

View File

@ -99,12 +99,10 @@ class TaskOrders(object):
failed = []
for attr in TaskOrders.SECTIONS[section]:
if not app.config.get("CLASSIFIED") and attr in ["clin_02", "clin_04"]:
pass
elif not getattr(task_order, attr):
failed.append(attr)
else:
if getattr(task_order, attr):
passed.append(attr)
else:
failed.append(attr)
if not failed:
return "complete"