aboutsummaryrefslogtreecommitdiff
path: root/nba/cli.py
diff options
context:
space:
mode:
authorChristian Cleberg <hello@cmc.pub>2025-03-29 00:31:09 -0500
committerChristian Cleberg <hello@cmc.pub>2025-03-29 00:31:09 -0500
commit0809a7758f7e201d10c88d6f95fd86085a57e65d (patch)
tree57c4d8be16fcc92680e5ef696b97bd9be1a90fed /nba/cli.py
parent8e119140ef222168e856f4a3a750bd1337d3b2f0 (diff)
downloadnba-scores-0809a7758f7e201d10c88d6f95fd86085a57e65d.tar.gz
nba-scores-0809a7758f7e201d10c88d6f95fd86085a57e65d.tar.bz2
nba-scores-0809a7758f7e201d10c88d6f95fd86085a57e65d.zip
fix pylint errors
Diffstat (limited to 'nba/cli.py')
-rw-r--r--nba/cli.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/nba/cli.py b/nba/cli.py
index a1a3eb6..4e13abf 100644
--- a/nba/cli.py
+++ b/nba/cli.py
@@ -15,11 +15,11 @@ def nba() -> None:
parser.add_argument('--standings', action='store_true', help='Display the standings')
args = parser.parse_args()
- games, standings = fetch_data.fetch_data()
+ games, ranks = fetch_data.fetch_data()
if args.scores:
- scores.build_scoreboard(games, standings)
+ scores.build_scoreboard(games, ranks)
elif args.standings:
- standings.build_standings(standings)
+ standings.build_standings(ranks)
else:
- print("Please specify --scores or --standings") \ No newline at end of file
+ print("Please specify --scores or --standings")