main
Bob Mottram 2021-05-16 17:11:48 +01:00
parent 2b7ac80276
commit d9eedcb3ba
1 changed files with 1 additions and 1 deletions

View File

@ -723,7 +723,7 @@ def htmlHeaderWithPersonMarkup(cssFilename: str, instanceTitle: str,
skillsMarkup = ''
if actorJson.get('hasOccupation'):
if isinstance(actorJson['hasOccupation'], list):
skillsMarkup = ' "hasOccupation": ['
skillsMarkup = ' "hasOccupation": [\n'
firstEntry = True
for skillDict in actorJson['hasOccupation']:
if skillDict['@type'] == 'Role':