mirror of
https://github.com/jwinterm/modoboa.git
synced 2026-10-17 05:41:25 +02:00
@@ -23,7 +23,9 @@ class Caldav_Backend(CalendarBackend):
|
||||
"""Constructor."""
|
||||
super().__init__(calendar)
|
||||
server_url = smart_str(param_tools.get_global_parameter("server_location"))
|
||||
self.client = caldav.DAVClient(server_url, username=username, password=password)
|
||||
self.client = caldav.DAVClient(
|
||||
server_url, username=username, password=str(password)
|
||||
)
|
||||
if self.calendar:
|
||||
self.remote_cal = Calendar(self.client, calendar.encoded_path)
|
||||
|
||||
|
||||
+1
-1
@@ -77,7 +77,7 @@ dependencies = [
|
||||
# User
|
||||
"drf-nested-routers",
|
||||
"vobject",
|
||||
"caldav==2.0.1",
|
||||
"caldav==2.1.2",
|
||||
# Amavis
|
||||
"html2text",
|
||||
"idna",
|
||||
|
||||
Reference in New Issue
Block a user