Skip to content
Snippets Groups Projects
Commit 2d3eeef2 authored by Alessandro Cerioni's avatar Alessandro Cerioni
Browse files

Add patch (Atmo->ATMO) for metadata provided by ATMO Auvergne-Rhone-Alpes

parent 580d5592
Branches
Tags
No related merge requests found
......@@ -106,6 +106,13 @@ def list_to_dictlist( the_input, the_context=None ):
parent_organisation = parent_organisation.strip()
child_organisation = None
# temporary patch for ATMO
if 'Atmo Auvergne-Rhône-Alpes' in parent_organisation:
parent_organisation = parent_organisation.replace('Atmo Auvergne-Rhône-Alpes', 'ATMO Auvergne-Rhône-Alpes')
if child_organisation != None and 'Atmo Auvergne-Rhône-Alpes' in child_organisation:
child_organisation = child_organisation.replace('Atmo Auvergne-Rhône-Alpes', 'ATMO Auvergne-Rhône-Alpes')
# ------------------------------------------------------------------
out_item['organisationName'] = parent_organisation
if child_organisation != None:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment