Occupation name

main
Bob Mottram 2021-05-12 18:58:48 +01:00
parent abb2342f08
commit d36df81824
1 changed files with 2 additions and 2 deletions

View File

@ -729,8 +729,8 @@ def htmlHeaderWithPersonMarkup(cssFilename: str, instanceTitle: str,
skillsStr += skillName
if skillsStr:
occupationStr = ''
if actorJson.get('occupation'):
occupationName = actorJson['occupation']
if actorJson.get('occupationName'):
occupationName = actorJson['occupationName']
occupationStr = ' "name": "' + occupationName + '",\n'
skillsMarkup = \
' "hasOccupation": {\n' + \