From 06ac577c643c14f00ece638ede1f57115a951ec4 Mon Sep 17 00:00:00 2001 From: chbaeh <chbaeh@gmail.com> Date: Wed, 27 Feb 2019 16:03:23 +0100 Subject: [PATCH] remove format lowercaseing --- ckanext/odsh/plugin.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ckanext/odsh/plugin.py b/ckanext/odsh/plugin.py index e8844fc4..c4ef9e84 100644 --- a/ckanext/odsh/plugin.py +++ b/ckanext/odsh/plugin.py @@ -482,7 +482,7 @@ class OdshPlugin(plugins.SingletonPlugin, DefaultTranslation, DefaultDatasetForm d = parse(dict_pkg[field]) dict_pkg[field] = '{0.year:4d}-{0.month:02d}-{0.day:02d}T00:00:00Z'.format( d) - if 'res_format' in dict_pkg: - dict_pkg['res_format']=[e.lower() for e in dict_pkg['res_format']] + # if 'res_format' in dict_pkg: + # dict_pkg['res_format']=[e.lower() for e in dict_pkg['res_format']] return dict_pkg \ No newline at end of file -- GitLab