cartads_cs: adjust status endpoint to work with zeep objects (#30792)

This commit is contained in:
Frédéric Péters 2019-02-20 17:02:57 +01:00
parent 49e3a51c74
commit e6f98e37c8
1 changed files with 1 additions and 1 deletions

View File

@ -433,7 +433,7 @@ class CartaDSCS(BaseResource):
status_id = 'cartads-%s' % steps[-1]['IdEtape']
status_label = steps[-1]['LibelleEtape']
extra = {}
for key in steps[-1].keys():
for key in steps[-1]:
extra[key] = steps[-1][key]
elif dossier.zip_sent:
status_id = 'zip-sent'