Skip to content

Commit

Permalink
Fix missing buyer/award data
Browse files Browse the repository at this point in the history
  • Loading branch information
uhhhuh authored and catileptic committed Mar 12, 2024
1 parent dd2f5df commit 7be2d11
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ftmocds/convert.py
Original file line number Diff line number Diff line change
Expand Up @@ -206,8 +206,8 @@ def convert_item(item, country):
contracts = ensure_list(item.pop('contracts', {}))
for cdata in contracts:
convert_name(contract, cdata, 'title')
for item in cdata.pop('items', []):
convert_classification(contract, item)
for cditem in cdata.pop('items', []):
convert_classification(contract, cditem)

for planning in ensure_list(item.pop('planning', {})):
convert_value(contract, planning.pop('budget', {}))
Expand Down

0 comments on commit 7be2d11

Please sign in to comment.