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 skillsStr += skillName
if skillsStr: if skillsStr:
occupationStr = '' occupationStr = ''
if actorJson.get('occupation'): if actorJson.get('occupationName'):
occupationName = actorJson['occupation'] occupationName = actorJson['occupationName']
occupationStr = ' "name": "' + occupationName + '",\n' occupationStr = ' "name": "' + occupationName + '",\n'
skillsMarkup = \ skillsMarkup = \
' "hasOccupation": {\n' + \ ' "hasOccupation": {\n' + \