Browse Source

tongce: match数据清洗程序修改

Signed-off-by: binren <zhangbr@elab-plus.com>
binren 5 years ago
parent
commit
4b6c86fdaf
1 changed files with 2 additions and 2 deletions
  1. 2 2
      tongce.py

+ 2 - 2
tongce.py

@@ -395,9 +395,9 @@ class TongCe:
         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:
+            if option_configuration and len(option_configuration) == 4:
                 rt.insert(0, 67)
-                rt.extend(option_configuration)
+                rt.extend(option_configuration[0:3])
                 insert_data.append(rt)
         return insert_data