diff --git a/webapp_utils.py b/webapp_utils.py index 05c38c9ce..65c68b87f 100644 --- a/webapp_utils.py +++ b/webapp_utils.py @@ -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' + \