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"
|
"name": "Fediverse"
|
||||||
}
|
}
|
||||||
updateActor = True
|
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
|
# if no roles are defined then ensure that the admin
|
||||||
# roles are configured
|
# roles are configured
|
||||||
|
|
Loading…
Reference in New Issue