Browse Source

tongce: 数据类型转换

Signed-off-by: binren <zhangbr@elab-plus.com>
binren 5 years ago
parent
commit
d44b606361
1 changed files with 1 additions and 0 deletions
  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)