Commit 4e04f03f authored by Emmanuel Raviart's avatar Emmanuel Raviart

Use numeroReference instead of numeroLong.

parent 0cbb2726
......@@ -100,7 +100,7 @@ def get_amendements(context, bibard = None, bibard_suffixe = None, numeros = Non
assert sorted(data.keys()) == ['amendements'], sorted(data.keys())
amendements = data['amendements']
for amendement in amendements:
numero = amendement['numeroLong']
numero = amendement['numeroReference']
json_filename = 'amendement-{}.json'.format(numero)
write_json(amendement, os.path.join(json_dir, json_filename))
existing_filenames.discard(json_filename)
......
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