Set nickname

main
Bob Mottram 2021-02-17 13:34:08 +00:00
parent f3ef2c0c02
commit d1b2fe7bf0
1 changed files with 2 additions and 0 deletions

View File

@ -12323,6 +12323,8 @@ class PubServer(BaseHTTPRequestHandler):
nicknameStr = nicknameStr.split('?')[0]
if '/' in nicknameStr:
nickname = nicknameStr.split('/')[0]
else:
nickname = nicknameStr
if not nickname:
print('WARN: no nickname found when receiving ' + postType +
' path ' + path)