From e5a93eb9c6060e48c166e2d60814381947a876ab Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Sun, 7 Nov 2021 12:31:47 +0000 Subject: [PATCH] Indentation --- webapp_utils.py | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/webapp_utils.py b/webapp_utils.py index 6188c43ac..33df0972a 100644 --- a/webapp_utils.py +++ b/webapp_utils.py @@ -566,16 +566,16 @@ def htmlHeaderWithPersonMarkup(cssFilename: str, instanceTitle: str, ' "addressCountry": "' + country + '"\n' addComma = ',' cityMarkup = \ - ' "address": {\n' + \ - ' "@type": "PostalAddress",\n' + \ - ' "addressLocality": "' + city + '"' + addComma + '\n' + \ + ' "address": {\n' + \ + ' "@type": "PostalAddress",\n' + \ + ' "addressLocality": "' + city + '"' + addComma + '\n' + \ countryMarkup + \ - ' },\n' + ' },\n' skillsMarkup = '' if actorJson.get('hasOccupation'): if isinstance(actorJson['hasOccupation'], list): - skillsMarkup = ' "hasOccupation": [\n' + skillsMarkup = ' "hasOccupation": [\n' firstEntry = True for skillDict in actorJson['hasOccupation']: if skillDict['@type'] == 'Role': @@ -641,7 +641,7 @@ def htmlHeaderWithPersonMarkup(cssFilename: str, instanceTitle: str, ' "skills": ' + skillsListStr + '\n' + \ ' }' firstEntry = False - skillsMarkup += '\n ],\n' + skillsMarkup += '\n ],\n' description = removeHtml(actorJson['summary']) nameStr = removeHtml(actorJson['name'])