mirror of https://gitlab.com/bashrc2/epicyon
Newline
parent
2b7ac80276
commit
d9eedcb3ba
|
@ -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':
|
||||
|
|
Loading…
Reference in New Issue