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(