Skip to content

Commit

Permalink
fix(backend): fill lang when importing mst (#1929)
Browse files Browse the repository at this point in the history
Closes #1928

Co-authored-by: wangzhao <wangzhao@megvii.com>
  • Loading branch information
nero19960329 and wangzhao committed Mar 2, 2023
1 parent 1f23005 commit 17a4008
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions backend/import.py
Expand Up @@ -92,6 +92,7 @@ def import_tree(
state=state,
origin=self.origin,
active=active,
lang=root_msg.lang or "en",
)
self.db.add(mts)
return mts, root_msg
Expand Down

0 comments on commit 17a4008

Please sign in to comment.