Browse Source

dddss

Signed-off-by: Binren Zhnag <zhangbr@elab-plus.com>
Binren Zhnag 4 năm trước cách đây
mục cha
commit
af844bbff2
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  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