ソースを参照

Remove assert that may fail for unknown reasons

Foppe Hemminga 6 年 前
コミット
c1e2a8dc32
1 ファイル変更2 行追加2 行削除
  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