mirror of https://gitlab.com/bashrc2/epicyon
Newline
parent
2b7ac80276
commit
d9eedcb3ba
|
@ -723,7 +723,7 @@ def htmlHeaderWithPersonMarkup(cssFilename: str, instanceTitle: str,
|
||||||
skillsMarkup = ''
|
skillsMarkup = ''
|
||||||
if actorJson.get('hasOccupation'):
|
if actorJson.get('hasOccupation'):
|
||||||
if isinstance(actorJson['hasOccupation'], list):
|
if isinstance(actorJson['hasOccupation'], list):
|
||||||
skillsMarkup = ' "hasOccupation": ['
|
skillsMarkup = ' "hasOccupation": [\n'
|
||||||
firstEntry = True
|
firstEntry = True
|
||||||
for skillDict in actorJson['hasOccupation']:
|
for skillDict in actorJson['hasOccupation']:
|
||||||
if skillDict['@type'] == 'Role':
|
if skillDict['@type'] == 'Role':
|
||||||
|
|
Loading…
Reference in New Issue