Browse Source

dddss

Signed-off-by: Binren Zhnag <zhangbr@elab-plus.com>
Binren Zhnag 4 years ago
parent
commit
af844bbff2
1 changed files with 1 additions and 1 deletions
  1. 1 1
      jianye_report.py

+ 1 - 1
jianye_report.py

@@ -112,7 +112,7 @@ class JianYeReport(object):
     def get_house_id_by_brand_id(self, brand_id):
         result = []
         for x in self.get_city_house_id():
-            if str(x[0]) == str(brand_id) and x[1] is not None and len(x[x]) > 4:
+            if str(x[0]) == str(brand_id) and x[1] is not None and len(x[1]) > 4:
                 result.append(x[1])
         return result