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 ) )