Commit f5547409 authored by Nicolas Joyard's avatar Nicolas Joyard


parent 8a9e695f
......@@ -77,7 +77,7 @@ class ImportAmendementsJob(BaseANJob):
if json.get('representations', None):
reps = json['representations']
if isinstance(rep, dict):
if isinstance(reps, dict):
reps = [reps]
rep = reps[0]['representation']
if len(reps) and rep.get('nom', '') == 'PDF' and \
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment