Procházet zdrojové kódy

Remove assert that may fail for unknown reasons

Foppe Hemminga před 6 roky
rodič
revize
c1e2a8dc32
1 změnil soubory, kde provedl 2 přidání a 2 odebrání
  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