From 1c055430a0b9f0d4efa3a51112ee28c66832132e Mon Sep 17 00:00:00 2001 From: clr-li <111320104+clr-li@users.noreply.github.com> Date: Wed, 14 Feb 2024 21:01:10 -0800 Subject: [PATCH] Fix linter --- bots/models.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/bots/models.py b/bots/models.py index 3a440ab73..c55ef1f74 100644 --- a/bots/models.py +++ b/bots/models.py @@ -935,7 +935,9 @@ def to_df_format( else None ), # only show first feedback as per Sean's request "Analysis JSON": message.analysis_result, - "Run Time": message.saved_run.run_time if message.saved_run else 0, # user messages have no run/run_time + "Run Time": ( + message.saved_run.run_time if message.saved_run else 0 + ), # user messages have no run/run_time } rows.append(row) df = pd.DataFrame.from_records(