Skip to content

Commit

Permalink
fix a bug
Browse files Browse the repository at this point in the history
  • Loading branch information
northwestwitch committed May 6, 2020
1 parent 0bbf449 commit 411342a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cgbeacon2/server/blueprints/api_v1/views.py
Expand Up @@ -59,7 +59,7 @@ def query_form():
if resp_obj["exists"] == False:
flash_color = "secondary"

if len(resp_obj.get("datasetAlleleResponses"), []) > 0:
if len(resp_obj.get("datasetAlleleResponses", [])) > 0:
# flash response from single datasets:
for resp in resp_obj["datasetAlleleResponses"]:
if resp["exists"] is True:
Expand Down

0 comments on commit 411342a

Please sign in to comment.