1
0
Fork 0
mirror of https://github.com/Kozea/Radicale.git synced 2025-06-26 16:45:52 +00:00

Fixed couple of points after origin sync

This commit is contained in:
Tuna Celik 2023-02-10 22:52:49 +01:00
parent dd723dae5d
commit 22731f3d26
3 changed files with 7 additions and 7 deletions

10
config
View file

@ -121,8 +121,8 @@
[hook] [hook]
# Hook types # Hook types
# Value: none | rabbitmq # Value: none | rabbitmq
#type = none #type = none
#rabbitmq_endpoint = #rabbitmq_endpoint =
#rabbitmq_topic = #rabbitmq_topic =

View file

@ -123,7 +123,7 @@ DEFAULT_CONFIG_SCHEMA = OrderedDict([
"value": "False", "value": "False",
"help": "use SSL connection", "help": "use SSL connection",
"aliases": ["-s", "--ssl"], "aliases": ["-s", "--ssl"],
"opposite": ["-S", "--no-ssl"], "opposite_aliases": ["-S", "--no-ssl"],
"type": bool}), "type": bool}),
("certificate", { ("certificate", {
"value": "/etc/ssl/radicale.cert.pem", "value": "/etc/ssl/radicale.cert.pem",

View file

@ -9,7 +9,7 @@ INTERNAL_TYPES = ("none", "rabbitmq")
def load(configuration): def load(configuration):
"""Load the storage module chosen in configuration.""" """Load the storage module chosen in configuration."""
return utils.load_plugin( return utils.load_plugin(
INTERNAL_TYPES, "hook", "Hook", configuration) INTERNAL_TYPES, "hook", "Hook", BaseHook, configuration)
class BaseHook: class BaseHook: