Skip to content

Commit

Permalink
Added missing arguments
Browse files Browse the repository at this point in the history
`show_upcoming, use_12_hour_format` was missing from call to `self.writer.team_scores()`.
  • Loading branch information
tiktuk authored Jan 14, 2019
1 parent 5e7e32e commit 076e715
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion soccer/request_handler.py
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ def get_team_scores(self, team, time, show_upcoming, use_12_hour_format):
click.secho("No action during past week. Change the time "
"parameter to get more fixtures.", fg="red", bold=True)
else:
self.writer.team_scores(team_scores, time)
self.writer.team_scores(team_scores, time, show_upcoming, use_12_hour_format)
except APIErrorException as e:
click.secho(e.args[0],
fg="red", bold=True)
Expand Down

0 comments on commit 076e715

Please sign in to comment.