Skip to content
Snippets Groups Projects
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
Branches
Tags
2 merge requests!15merge Development into master,!14fix #11163 acces restreint
Pipeline #18011 passed
...@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment