From 2c607f378771f5e8ad51da131175cf3cbd3ce22b Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Mon, 15 Mar 2021 20:45:41 +0000 Subject: [PATCH] Remove newlines --- speaker.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/speaker.py b/speaker.py index f1079e9c9..ed2218714 100644 --- a/speaker.py +++ b/speaker.py @@ -502,6 +502,8 @@ def _postToSpeakerJson(baseDir: str, httpPrefix: str, follows = fp.readlines() if len(follows) > 0: followRequestsExist = True + for i in range(len(follows)): + follows[i] = follows[i].strip() followRequestsList = follows postDM = False dmFilename = accountsDir + '/.newDM'