From a539cb6f687463cf2482e519d2924d3bba110cc8 Mon Sep 17 00:00:00 2001 From: "apan_youxiang@163.com" Date: Sat, 27 Aug 2022 16:39:48 +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 613882e..45a56ae 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=f"error:{error}", + msg="error:%s" % error, data=resp_data ) )