From 7e9fcdcb4cb192fabd939d3e5a4b4c4c7705688f Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Sat, 27 Aug 2022 22:13:38 +0100 Subject: [PATCH] Condition not needed --- daemon.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/daemon.py b/daemon.py index dc60bc4b3..2e8938322 100644 --- a/daemon.py +++ b/daemon.py @@ -805,8 +805,6 @@ class PubServer(BaseHTTPRequestHandler): if '/users/' not in path: return None nickname = path.split('/users/')[1] - if '#' not in nickname: - return None if '#main-key' in nickname: nickname = nickname.split('#main-key')[0] elif '/main-key' in nickname: