From 3209a208e6734d8a403d96b73116b629e47ee0f6 Mon Sep 17 00:00:00 2001 From: "alexandr.uritskiy" Date: Thu, 2 Jun 2022 00:28:06 +0500 Subject: [PATCH] format --- controllers/main.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/controllers/main.py b/controllers/main.py index d6234a1..1286ada 100644 --- a/controllers/main.py +++ b/controllers/main.py @@ -115,7 +115,9 @@ class DocxReportController(ReportController): # response.set_cookie("fileToken", token) return response else: - return super(DocxReportController, self).report_download(data, context=context) + return super(DocxReportController, self).report_download( + data, context=context + ) except Exception as e: se = _serialize_exception(e) error = {"code": 200, "message": "Odoo Server Error", "data": se}