Skip to content

Commit 8df4978

Browse files
committed
Added default value for Geographic Scope
1 parent fa267bb commit 8df4978

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/signals/resources.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,7 @@ def process_geographic_scope(row) -> None:
119119
if row["Geographic Scope"]:
120120
geographic_scope = row["Geographic Scope"]
121121
geographic_scope_obj, _ = GeographicScope.objects.get_or_create(
122-
name=geographic_scope, used_in="signals"
122+
name=geographic_scope, used_in="signals", defaults={"used_in": "signals"}
123123
)
124124
row["Geographic Scope"] = geographic_scope_obj.id
125125

0 commit comments

Comments
 (0)