From 13f68422320ff8c87c6b6079092ef02681598394 Mon Sep 17 00:00:00 2001 From: slice Date: Sat, 1 Sep 2018 19:02:42 -0700 Subject: [PATCH] remove unnecessary ** in dict --- run.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/run.py b/run.py index 130ee5a..a999703 100644 --- a/run.py +++ b/run.py @@ -109,12 +109,13 @@ async def handle_litecord_err(err): except IndexError: ejson = {} - return jsonify({**{ + return jsonify({ 'error': True, # 'code': err.code, 'status': err.status_code, 'message': err.message, - }, **ejson}), err.status_code + **ejson + }), err.status_code @app.errorhandler(500)