Strip handle

main
Bob Mottram 2020-12-13 22:23:39 +00:00
parent 498d903511
commit f3e0d4e17c
1 changed files with 2 additions and 1 deletions

View File

@ -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