소스 검색

tongce: 数据类型转换

Signed-off-by: binren <zhangbr@elab-plus.com>
binren 5 년 전
부모
커밋
d44b606361
1개의 변경된 파일1개의 추가작업 그리고 0개의 파일을 삭제
  1. 1 0
      tongce.py

+ 1 - 0
tongce.py

@@ -81,6 +81,7 @@ class TongCe:
         result = self.shangju_db.select(self.sql_2, [67])
         insert_data = []
         for rt in result:
+            rt = list(rt)
             option_configuration = self.options_info.get('67' + str(rt[6]))
             if option_configuration and len(option_configuration) == 3:
                 rt.extend(option_configuration)