Skip to content

Commit 17a4008

Browse files
nero19960329wangzhao
and
wangzhao
authored
fix(backend): fill lang when importing mst (LAION-AI#1929)
Closes LAION-AI#1928 Co-authored-by: wangzhao <wangzhao@megvii.com>
1 parent 1f23005 commit 17a4008

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

backend/import.py

+1
Original file line numberDiff line numberDiff line change
@@ -92,6 +92,7 @@ def import_tree(
9292
state=state,
9393
origin=self.origin,
9494
active=active,
95+
lang=root_msg.lang or "en",
9596
)
9697
self.db.add(mts)
9798
return mts, root_msg

0 commit comments

Comments
 (0)