Commit db396753 authored by Benoit Fabrèges's avatar Benoit Fabrèges

update meso json with one with multiple region. Fix fullDescription bug

parent e73424f2
Pipeline #6040 passed with stages
in 2 minutes and 25 seconds
......@@ -34,5 +34,4 @@ Les mésocentres en |_| France
:class: description
.. meso_list::
:json_url: https://plmbox.math.cnrs.fr/seafhttp/files/235990d7-c6be-455f-a6bb-a62aeada1620/liste_mesos.json
:json_url: https://plmbox.math.cnrs.fr/seafhttp/files/0c303d56-d5a0-463f-b6e7-22082376639b/liste_mesos.json
......@@ -52,8 +52,9 @@ def json_mesolist_to_rst(url):
else:
if key in keys_list:
rst += " "*8 + f":{key}: {', '.join(map(str, val))}\n"
rst += "\n" + " "*8 + f"{meso['fullDescription']}\n\n"
if 'fullDescription' in meso.keys():
rst += "\n" + " "*8 + f"{meso['fullDescription']}\n\n"
return rst
......
Markdown is supported
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