From fe5daf801a890fff8b9530ddf9e6297f8b26799a Mon Sep 17 00:00:00 2001 From: Unrud Date: Sat, 3 Sep 2016 10:01:52 +0200 Subject: [PATCH] Set password to empty string instead of None Prevent exception in auth module. --- radicale/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/radicale/__init__.py b/radicale/__init__.py index 06354d9..c5266e8 100644 --- a/radicale/__init__.py +++ b/radicale/__init__.py @@ -338,7 +338,7 @@ class Application: user = self.Auth.map_login_to_user(login) else: user = self.Auth.map_login_to_user(environ.get("REMOTE_USER", "")) - password = None + password = "" # If "/.well-known" is not available, clients query "/" if path == "/.well-known" or path.startswith("/.well-known/"):