Remove paragraph

master
Bob Mottram 2019-08-20 22:41:58 +01:00
parent 047ea9eb89
commit 75bd6dc877
1 changed files with 1 additions and 1 deletions

View File

@ -297,7 +297,7 @@ def htmlEditProfile(baseDir: str,path: str,domain: str,port: int) -> str:
if actorJson.get('preferredUsername'):
preferredNickname=actorJson['preferredUsername']
if actorJson.get('summary'):
bioStr=actorJson['summary']
bioStr=actorJson['summary'].replace('<p>','').replace('</p>','')
if actorJson.get('manuallyApprovesFollowers'):
if actorJson['manuallyApprovesFollowers']:
manuallyApprovesFollowers='checked'