fix: narrow swallowed exception in get_pitching_peripherals() (#10) #35
@ -533,7 +533,7 @@ def get_pitching_peripherals(season: int):
|
||||
row_data.append(player_id)
|
||||
if len(headers) == 0:
|
||||
col_names.append("key_bbref")
|
||||
except Exception:
|
||||
except KeyError:
|
||||
pass
|
||||
row_data.append(cell.text)
|
||||
if len(headers) == 0:
|
||||
|
||||
Loading…
Reference in New Issue
Block a user