Remove newlines

main
Bob Mottram 2021-11-08 18:39:17 +00:00
parent fcc45439e9
commit 4bd7156981
1 changed files with 1 additions and 0 deletions

View File

@ -723,6 +723,7 @@ def htmlProfile(signingPrivateKeyPem: str,
with open(followRequestsFilename, 'r') as f: with open(followRequestsFilename, 'r') as f:
for followerHandle in f: for followerHandle in f:
if len(line) > 0: if len(line) > 0:
followerHandle = followerHandle.replace('\n', '')
if '://' in followerHandle: if '://' in followerHandle:
followerActor = followerHandle followerActor = followerHandle
else: else: