Skip to content

Commit

Permalink
linter code issue fixed
Browse files Browse the repository at this point in the history
  • Loading branch information
npalchur committed Mar 27, 2024
1 parent f6035a8 commit 4b32080
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions dashboard/src/t5gweb/ui.py
Original file line number Diff line number Diff line change
Expand Up @@ -202,7 +202,7 @@ def login():
@login_required
def index():
"""list new cases"""

plot_data = plots()
return render_template(
"ui/index.html",
new_cases=get_new_cases(),
Expand Down Expand Up @@ -268,7 +268,6 @@ def refresh_status(task_id):
def refresh():
"""Forces an update to the dashboard"""
task = refresh_background.delay()
load_data()
return jsonify({}), 202, {"Location": url_for("ui.refresh_status", task_id=task.id)}


Expand Down

0 comments on commit 4b32080

Please sign in to comment.