main
Bob Mottram 2021-12-19 18:18:55 +00:00
parent 7a182248fd
commit 286fb72aa2
1 changed files with 2 additions and 0 deletions

View File

@ -1010,6 +1010,8 @@ def setDisplayNickname(baseDir: str, nickname: str, domain: str,
def setBio(baseDir: str, nickname: str, domain: str, bio: str) -> bool:
"""Only used within tests
"""
if len(bio) > 32:
return False
handle = nickname + '@' + domain