Skip to content
This repository was archived by the owner on Jun 9, 2022. It is now read-only.

Commit ca251d7

Browse files
committed
FIX - Not using versioned name whenever it's available
Signed-off-by: RaenonX <[email protected]>
1 parent 6c27a81 commit ca251d7

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

dlparse/export/entry/text.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@ def __post_init__(self, asset_multilingual: "MultilingualAssetBase", labels: Uni
3333
for label in labels:
3434
try:
3535
self.text_dict[lang_code] = asset_multilingual.get_text(lang_code, label)
36+
break # Name found, early terminate the loop
3637
except TextLabelNotFoundError:
3738
continue # Label not found, try to use the next label
3839

0 commit comments

Comments
 (0)