From d36df81824d368359b65eb37b1c0c16aba616919 Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Wed, 12 May 2021 18:58:48 +0100 Subject: [PATCH] Occupation name --- webapp_utils.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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' + \