fix lint
This commit is contained in:
@@ -123,13 +123,14 @@ permissions: RrWw""")
|
|||||||
with open(htpasswd_file_path, "w", encoding=encoding) as f:
|
with open(htpasswd_file_path, "w", encoding=encoding) as f:
|
||||||
f.write("owner:ownerpw\nuser:userpw")
|
f.write("owner:ownerpw\nuser:userpw")
|
||||||
|
|
||||||
self.configure({"auth": {"type": "htpasswd",
|
self.configure({
|
||||||
"htpasswd_filename": htpasswd_file_path,
|
"auth": {"type": "htpasswd",
|
||||||
"htpasswd_encryption": "plain"},
|
"htpasswd_filename": htpasswd_file_path,
|
||||||
"rights": {"type": "owner_only"},
|
"htpasswd_encryption": "plain"},
|
||||||
"sharing": {"type": "csv",
|
"rights": {"type": "owner_only"},
|
||||||
"collection_by_map": "True",
|
"sharing": {"type": "csv",
|
||||||
"permit_create_map": "True"}})
|
"collection_by_map": "True",
|
||||||
|
"permit_create_map": "True"}})
|
||||||
|
|
||||||
path_owner = "/owner/calendar.ics/"
|
path_owner = "/owner/calendar.ics/"
|
||||||
path_shared = "/user/calendar-shared.ics/"
|
path_shared = "/user/calendar-shared.ics/"
|
||||||
|
|||||||
Reference in New Issue
Block a user