Skip to content

Commit

Permalink
adding changes suggested
Browse files Browse the repository at this point in the history
  • Loading branch information
carlinakim committed Mar 23, 2020
1 parent 463e220 commit ffc3747
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pysketball/nba_boxplot.py
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ def nba_boxplot(dataset, stats, position=None, teams=None):
raise TypeError("teams must be a list")

# Checks if the position exists in the dataframe
if position is not None and position != 'POS':
if position is not None and position is not 'POS':
raise TypeError("Must input 'POS' in position argument")

# Checks if the stats exists in the dataframe
Expand Down

0 comments on commit ffc3747

Please sign in to comment.