Skip to content

Commit 3baff74

Browse files
committed
An ingest_ns_initiatives fix to avoid double parentheses
1 parent f809d78 commit 3baff74

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

api/management/commands/ingest_ns_initiatives.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ def handle(self, *args, **kwargs):
7171
nsd_initiatives, created = NSDInitiatives.objects.get_or_create(
7272
country=country,
7373
year=data[1],
74-
fund_type=f"{data[2]} ({data[7]})" if data[7] else data[2],
74+
fund_type=f"{data[2]} {data[7]}" if data[7] else data[2],
7575
defaults={
7676
"title": data[3],
7777
"categories": data[4],

0 commit comments

Comments
 (0)