mirror of https://gitlab.com/bashrc2/epicyon
Upgrade to fediverse city
parent
b60ba0431e
commit
8ff0a3a33e
|
@ -640,6 +640,13 @@ def personUpgradeActor(baseDir: str, personJson: {},
|
|||
"name": "Fediverse"
|
||||
}
|
||||
updateActor = True
|
||||
else:
|
||||
if ocItem['occupationLocation']['@type'] != 'City':
|
||||
ocItem['occupationLocation'] = {
|
||||
"@type": "City",
|
||||
"name": "Fediverse"
|
||||
}
|
||||
updateActor = True
|
||||
|
||||
# if no roles are defined then ensure that the admin
|
||||
# roles are configured
|
||||
|
|
Loading…
Reference in New Issue