Commit b0436110 authored by Damien DESPRES's avatar Damien DESPRES
Browse files

Merge branch 'ticket_11163' into 'development'

fix #11163 acces restreint

See merge request !14
parents 78394ad0 fc349c51
Pipeline #18011 passed with stages
in 18 seconds
...@@ -24,7 +24,7 @@ def tag_doc( the_doc ): ...@@ -24,7 +24,7 @@ def tag_doc( the_doc ):
# tag_dict[tag] = False # tag_dict[tag] = False
# isOpen? # isOpen?
if 'license' in the_doc['metadata-fr'].keys() and not any( [x in the_doc['metadata-fr']['license'] for x in ["Licence de réutilisation des données d'intérêt général"] ] ): if 'license' in the_doc['metadata-fr'].keys() and not any( [x in the_doc['metadata-fr']['license'] for x in ["Licence de réutilisation des données d'intérêt général","Accord de réutilisation de données en accès privé et exclusif"] ] ):
tag_dict['isOpenAccess'] = True tag_dict['isOpenAccess'] = True
else: else:
tag_dict['isOpenAccess'] = False tag_dict['isOpenAccess'] = False
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment