Allow to configure protocol to False
review267001 (transplanted from 06e7461d2f3a55e5d44f61512ac40cf3aa874890)
This commit is contained in:
1 parent
d427104d5c
commit
107f4167d1
1 file changed
+1
-1
+1
-1
@@ -104,7 +104,7 @@ class ConfigManager(object):
|
||||
value = True
|
||||
if value == 'False' or value == 'false':
|
||||
value = False
|
||||
if name in ('xmlrpc', 'jsonrpc', 'webdav'):
|
||||
if name in ('xmlrpc', 'jsonrpc', 'webdav') and value:
|
||||
value = [(get_hostname(netloc).replace('*', ''),
|
||||
get_port(netloc, name)) for netloc in value.split(',')]
|
||||
self.options[name] = value
|
||||
|
||||
Reference in new issue
Block a user