mirror of
https://gitlab.com/bashrc2/epicyon
synced 2026-10-31 18:05:22 +00:00
Strip handle
This commit is contained in:
1 parent
498d903511
commit
f3e0d4e17c
1 file changed
+2
-1
@@ -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
|
||||
|
||||
Reference in new issue
Block a user