Condition not needed

main
Bob Mottram 2022-08-27 22:13:38 +01:00
parent 30dfdf8286
commit 7e9fcdcb4c
1 changed files with 0 additions and 2 deletions

View File

@ -805,8 +805,6 @@ class PubServer(BaseHTTPRequestHandler):
if '/users/' not in path: if '/users/' not in path:
return None return None
nickname = path.split('/users/')[1] nickname = path.split('/users/')[1]
if '#' not in nickname:
return None
if '#main-key' in nickname: if '#main-key' in nickname:
nickname = nickname.split('#main-key')[0] nickname = nickname.split('#main-key')[0]
elif '/main-key' in nickname: elif '/main-key' in nickname: