You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Thanks for the great library, just wanted to report a crash I came across:
Traceback (most recent call last):
File "rpscrape.py", line 586, in <module>
main()
File "rpscrape.py", line 582, in main
parse_args([arg.strip() for arg in args.split()])
File "rpscrape.py", line 563, in parse_args
scrape_races(races, course_name(scrape_target), args[1], code)
File "rpscrape.py", line 488, in scrape_races
times = calculate_times(win_time, btn, going, code, course_name)
File "rpscrape.py", line 359, in calculate_times
time = (win_time + (float(dist) / lps_scale))
UnboundLocalError: local variable 'lps_scale' referenced before assignment
Which I saw after running the script with these arguments: gb 1999-2019 flat
The text was updated successfully, but these errors were encountered:
Thanks for the great library, just wanted to report a crash I came across:
Which I saw after running the script with these arguments:
gb 1999-2019 flat
The text was updated successfully, but these errors were encountered: