diff --git a/src/representatives/contrib/parltrack/import_representatives.py b/src/representatives/contrib/parltrack/import_representatives.py index 456df17377e8ed6090ee22d9aa503c904dde816b..d0f5e70d0859376532d2c4d7cf89cbd2e156740d 100644 --- a/src/representatives/contrib/parltrack/import_representatives.py +++ b/src/representatives/contrib/parltrack/import_representatives.py @@ -93,8 +93,8 @@ class ParltrackImporter(GenericImporter): changed = False # Issue 185. We must have a Birth date for our mep, to allow import # and slugifying stuff. - if not "Birth" in mep_json: - mep_json["Birth"] = {"date": "9999-01-01T00:00:00", "place":""} + if "Birth" not in mep_json: + mep_json["Birth"] = {"date": "9999-01-01T00:00:00", "place": ""} slug = slugify('%s-%s' % ( mep_json["Name"]["full"] if 'full' in mep_json["Name"]