7cfa582f by 周伟奇

fix role name 2

1 parent db3817f9
......@@ -620,7 +620,7 @@ class BSWorkbook(Workbook):
new_card = self.get_new_card(card)
# 1.原表表头收集、按照月份分割
# 1.1 总结首行信息
role_name = summary.get('role', consts.UNKNOWN_ROLE).translate(consts.SHEET_TITLE_TRANS)
role_name = summary.get('role', consts.UNKNOWN_ROLE).translate(consts.SHEET_TITLE_TRANS).strip()[:3]
classify = summary.get('classify', 0)
sheet_header_info = {}
header_info = {}
......
Styling with Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!