Forráskód Böngészése

Allow float for server->timeout setting

Unrud 5 éve
szülő
commit
5333751e45
1 módosított fájl, 1 hozzáadás és 1 törlés
  1. 1 1
      radicale/config.py

+ 1 - 1
radicale/config.py

@@ -118,7 +118,7 @@ DEFAULT_CONFIG_SCHEMA = OrderedDict([
         ("timeout", {
         ("timeout", {
             "value": "30",
             "value": "30",
             "help": "socket timeout",
             "help": "socket timeout",
-            "type": positive_int}),
+            "type": positive_float}),
         ("ssl", {
         ("ssl", {
             "value": "False",
             "value": "False",
             "help": "use SSL connection",
             "help": "use SSL connection",