From f5bf4d506f33c4637bcf8efcd6dcdaad91772012 Mon Sep 17 00:00:00 2001 From: Luc De Meyer Date: Thu, 8 Aug 2019 20:25:51 +0200 Subject: [PATCH] greenify --- report_xlsx_helper/report/report_xlsx_abstract.py | 2 +- report_xlsx_helper_demo/report/partner_export_xlsx.py | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/report_xlsx_helper/report/report_xlsx_abstract.py b/report_xlsx_helper/report/report_xlsx_abstract.py index 0f55612a..8c007ff7 100644 --- a/report_xlsx_helper/report/report_xlsx_abstract.py +++ b/report_xlsx_helper/report/report_xlsx_abstract.py @@ -505,7 +505,7 @@ class ReportXlsxAbstract(models.AbstractModel): cell_type = 'datetime' elif isinstance(cell_value, date): cell_value = datetime.combine( - cell_value, datetime.min.time()) + cell_value, datetime.min.time()) cell_type = 'datetime' else: if not cell_value: diff --git a/report_xlsx_helper_demo/report/partner_export_xlsx.py b/report_xlsx_helper_demo/report/partner_export_xlsx.py index 3ea0c813..c9cd55ab 100644 --- a/report_xlsx_helper_demo/report/partner_export_xlsx.py +++ b/report_xlsx_helper_demo/report/partner_export_xlsx.py @@ -1,4 +1,3 @@ -# -*- coding: utf-8 -*- # Copyright 2009-2018 Noviat. # License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl).