Skip to content

Commit

Permalink
Merge pull request #27 from questionlp/develop
Browse files Browse the repository at this point in the history
Fix issue with Scores by Appearance
  • Loading branch information
questionlp authored Aug 31, 2023
2 parents 854d9bf + 9e265dc commit 1c6a894
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 2 deletions.
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# Changes

## 2.3.1

### Application Changes

- Fix a bug with Panelists: Scores by Appearance route where panelists who have appearances on the show, but do not have corresponding scores, causes an error.

## 2.3.0

### Application Changes
Expand Down
2 changes: 1 addition & 1 deletion app/panelists/routes.py
Original file line number Diff line number Diff line change
Expand Up @@ -166,8 +166,8 @@ def scores_by_appearance_details(panelist: str):
if not info:
return redirect_url(url_for("panelists.scores_by_appearance"))

shows_json = json.dumps(scores["shows"])
if scores:
shows_json = json.dumps(scores["shows"])
if current_app.config["app_settings"]["use_decimal_scores"]:
scores_float = []
for score in scores["scores"]:
Expand Down
2 changes: 1 addition & 1 deletion app/version.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,4 @@
# graphs.wwdt.me is released under the terms of the Apache License 2.0
"""Application Version for Wait Wait Graphs Site"""

APP_VERSION = "2.3.0"
APP_VERSION = "2.3.1"

0 comments on commit 1c6a894

Please sign in to comment.