mirror of https://gitlab.com/bashrc2/epicyon
Remove occupation name
parent
e126d1ab1f
commit
62d9000671
|
@ -563,6 +563,9 @@ def personUpgradeActor(baseDir: str, personJson: {},
|
|||
updateActor = True
|
||||
|
||||
occupationName = ''
|
||||
if personJson.get('occupationName'):
|
||||
occupationName = personJson['occupationName']
|
||||
del personJson['occupationName']
|
||||
if personJson.get('occupation'):
|
||||
occupationName = personJson['occupation']
|
||||
del personJson['occupation']
|
||||
|
|
Loading…
Reference in New Issue