Parcourir la source

Remove assert that may fail for unknown reasons

Foppe Hemminga il y a 6 ans
Parent
commit
c1e2a8dc32
1 fichiers modifiés avec 2 ajouts et 2 suppressions
  1. 2 2
      _bs.py

+ 2 - 2
_bs.py

@@ -164,7 +164,7 @@ def process_scratchings(this_data, this_venue):
                 continue
             temp_list = Scratching(this_venue.name, this_venue.state, this_venue.date, race, text)
             scratchings.append(temp_list)
-    assert len(scratchings) == int(scratchings_count), 'len(scratchings) {} == scratchings_count {}'.format(
-        len(scratchings), scratchings_count)
+    # assert len(scratchings) == int(scratchings_count), 'len(scratchings) {} == scratchings_count {}'.format(
+    #     len(scratchings), scratchings_count)
     # pprint(scratchings)
     return scratchings