Merge pull request #681 from dod-ccpo/funding-section-complete-with-0-clin

Bug fix for $0 clin values
This commit is contained in:
montana-mil 2019-02-27 09:38:16 -05:00 committed by GitHub
commit 056279cd7c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -97,7 +97,7 @@ class TaskOrders(object):
failed = []
for attr in TaskOrders.SECTIONS[section]:
if getattr(task_order, attr):
if getattr(task_order, attr) is not None:
passed.append(attr)
else:
failed.append(attr)