From 613393e56005c57689d7268cae93aada96655d6b Mon Sep 17 00:00:00 2001 From: "apan_youxiang@163.com" Date: Sat, 27 Aug 2022 16:42:08 +0800 Subject: [PATCH] 2 --- apps/home/views.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/home/views.py b/apps/home/views.py index 45a56ae..613882e 100644 --- a/apps/home/views.py +++ b/apps/home/views.py @@ -59,7 +59,7 @@ def get_home_info(): except Exception as error: return jsonify( Utils.except_return( - msg="error:%s" % error, + msg=f"error:{error}", data=resp_data ) )