Skip to content

Commit 7e5de98

Browse files
committed
fix(tbit_import): assign value to variable
Actually assign the intended value to the `exp_language` variable, which is then used to look up/create `Expression` instances.
1 parent cfe5ce6 commit 7e5de98

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

apis_ontology/management/commands/import_translations_data.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -472,6 +472,7 @@ def handle(self, *args, **options):
472472

473473
for exp in matching_exp:
474474
exp_title = exp["title"]
475+
exp_language = exp["language"] or ""
475476
translator_ids = exp["translators"] or []
476477
work_id = exp["work"] or ""
477478

0 commit comments

Comments
 (0)