Преглед на файлове

dddss

Signed-off-by: Binren Zhnag <zhangbr@elab-plus.com>
Binren Zhnag преди 5 години
родител
ревизия
af844bbff2
променени са 1 файла, в които са добавени 1 реда и са изтрити 1 реда
  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