diff --git a/follow.py b/follow.py index 5fe8f9f6..952c1d6f 100644 --- a/follow.py +++ b/follow.py @@ -50,8 +50,9 @@ def createInitialLastSeen(baseDir: str, httpPrefix: str) -> None: continue if '@' not in handle: continue + handle = handle.strip() nickname = handle.split('@')[0] - domain = handle.split('@')[1].strip() + domain = handle.split('@')[1] actor = \ httpPrefix + '://' + \ nickname + '@' + domain + '/users/' + nickname