import deputy degrees
This commit is contained in:
parent
313c2adbb6
commit
56e5b84a92
|
@ -340,6 +340,8 @@ class ImportDeputies(BrowserView):
|
|||
object.birthplace = d.find('parlLocBirthDay').text
|
||||
object.polgroup = RelationValue(self.get_polgroup_intid(
|
||||
polgroups.get(d.find('grpPolId').text)))
|
||||
if d.find('parlFormation') is not None:
|
||||
object.degrees = d.find('parlFormation').text
|
||||
pic_filename = d.find('parlPicture').text
|
||||
pic_filepath = os.path.join(base_picdir, pic_filename)
|
||||
if os.path.exists(pic_filepath):
|
||||
|
|
Reference in New Issue