From c946775137a13b7ac7484632690d8dfa0e0c3ae0 Mon Sep 17 00:00:00 2001 From: Patricia Roman Sanchez Date: Fri, 4 Oct 2024 13:58:07 +0200 Subject: [PATCH] Fix linter issues --- toolium/utils/dataset.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/toolium/utils/dataset.py b/toolium/utils/dataset.py index a43c8a6c..531513a0 100644 --- a/toolium/utils/dataset.py +++ b/toolium/utils/dataset.py @@ -309,9 +309,9 @@ def _update_param_transform_string(type_mapping_match_group): params_to_replace = type_mapping_match_group.group(2).split('::') date_actual_format = '%Y/%m/%d %H:%M:%S' replace_param = _format_date_spanish(params_to_replace[0], params_to_replace[1], date_actual_format, - capitalize=False) + capitalize=False) elif type_mapping_match_group.group(1) == 'TITLE': - replace_param = "".join(map(min, zip(type_mapping_match_group.group(2), + replace_param = "".join(map(min, zip(type_mapping_match_group.group(2), type_mapping_match_group.group(2).title()))) return replace_param