convert lieuxMariage to string even if it's an empty list
This commit is contained in:
parent
632398eb10
commit
96a3b4855c
|
@ -59,7 +59,7 @@ class AuthenticAdapter(DefaultAdapter):
|
|||
# fix street name
|
||||
attributes['rue'] = attributes['rue'].split('(')[0]
|
||||
|
||||
if attributes.get('lieuxMariage'):
|
||||
if 'lieuxMariage' in attributes:
|
||||
# change from list to string
|
||||
attributes['lieuxMariage'] = '|'.join(attributes.get('lieuxMariage'))
|
||||
|
||||
|
|
Loading…
Reference in New Issue