Skip to content

Commit

Permalink
fix xls's sort order
Browse files Browse the repository at this point in the history
  • Loading branch information
bssthu committed Nov 24, 2016
1 parent e7778fd commit a1c0c11
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/objs/lang_mgr.py
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ def to_xls_list(self, deduplicate=True):
"""
xls_list = []
# 生成列表
for key1 in sorted(self.all_lang_groups):
for key1 in sorted(self.all_lang_groups, key=lambda x: int(x)):
lang_groups = self.all_lang_groups[key1]
for key2 in sorted(lang_groups):
lang_group = lang_groups[key2]
Expand Down

0 comments on commit a1c0c11

Please sign in to comment.