1
0
Эх сурвалжийг харах

Fixed couple of points after origin sync

Tuna Celik 3 жил өмнө
parent
commit
22731f3d26

+ 5 - 5
config

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

+ 1 - 1
radicale/config.py

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

+ 1 - 1
radicale/hook/__init__.py

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