diff options
Diffstat (limited to 'module/remote/SecureXMLRPCServer.py')
-rw-r--r-- | module/remote/SecureXMLRPCServer.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/module/remote/SecureXMLRPCServer.py b/module/remote/SecureXMLRPCServer.py index 7a60f6c90..48586ee0b 100644 --- a/module/remote/SecureXMLRPCServer.py +++ b/module/remote/SecureXMLRPCServer.py @@ -76,7 +76,7 @@ class AuthXMLRPCRequestHandler(SimpleXMLRPCRequestHandler): def do_POST(self): # authentication - if self.authMap != None: # explicit None! + if self.authMap is not None: # explicit None! if self.headers.has_key('authorization') and self.headers['authorization'].startswith('Basic '): authenticationString = base64.b64decode(self.headers['authorization'].split(' ')[1]) if authenticationString.find(':') != -1: |