diff --git a/person.py b/person.py index 492f5bd1e..84d0af727 100644 --- a/person.py +++ b/person.py @@ -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