Skip to content

Commit

Permalink
adding check for null budget_type
Browse files Browse the repository at this point in the history
  • Loading branch information
DenisDDBT committed Feb 13, 2025
1 parent 147a329 commit b30e649
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion chartofaccountDIT/exportcsv.py
Original file line number Diff line number Diff line change
Expand Up @@ -210,7 +210,7 @@ def _export_programme_iterator(queryset):
yield [
obj.programme_code,
obj.programme_description,
obj.budget_type.budget_type,
obj.budget_type.budget_type if obj.budget_type else "",
obj.active,
]

Expand Down

0 comments on commit b30e649

Please sign in to comment.