Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix issue pulling football league positions #528

Merged
merged 1 commit into from
Nov 13, 2020
Merged

Conversation

roclark
Copy link
Owner

@roclark roclark commented Nov 13, 2020

Occasionally, a team's league position will not be posted on their team page, throwing an error while attempting to parse that information. Defaulting the value to None in this scenario will skip the error while allowing expected functionality to continue.

Fixes #530

Signed-Off-By: Robert Clark robdclark@outlook.com

@roclark roclark added the bug Something isn't working label Nov 13, 2020
@roclark roclark added this to the Release 0.6.0 milestone Nov 13, 2020
@roclark roclark self-assigned this Nov 13, 2020
@codecov
Copy link

codecov bot commented Nov 13, 2020

Codecov Report

Merging #528 (20d3ec0) into master (9b6039f) will not change coverage.
The diff coverage is 100.00%.

Impacted file tree graph

@@           Coverage Diff           @@
##           master     #528   +/-   ##
=======================================
  Coverage   99.97%   99.97%           
=======================================
  Files          55       55           
  Lines       13168    13171    +3     
=======================================
+ Hits        13165    13168    +3     
  Misses          3        3           
Impacted Files Coverage Δ
sportsreference/fb/team.py 100.00% <100.00%> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 9b6039f...20d3ec0. Read the comment docs.

Occasionally, a team's league position will not be posted on their team
page, throwing an error while attempting to parse that information.
Defaulting the value to None in this scenario will skip the error while
allowing expected functionality to continue.

Signed-Off-By: Robert Clark <robdclark@outlook.com>
@roclark roclark merged commit 4c3c1e7 into master Nov 13, 2020
@roclark roclark deleted the fix-fb-position branch November 13, 2020 14:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Issue pulling football teams with incomplete league positions
1 participant