Add unix socket support
This commit is contained in:
parent
c40784f6ca
commit
537a7b3365
|
@ -82,6 +82,11 @@ from xml.etree.ElementTree import parse
|
|||
from ansible.module_utils.basic import AnsibleModule
|
||||
from ansible.module_utils.urls import fetch_url, url_argument_spec
|
||||
|
||||
try:
|
||||
import requests_unitsocket
|
||||
except ImportError:
|
||||
pass
|
||||
|
||||
SYNCTHING_API_URI = "/rest/config/devices"
|
||||
if platform.system() == 'Windows':
|
||||
DEFAULT_ST_CONFIG_LOCATION = '%localappdata%/Syncthing/config.xml'
|
||||
|
|
Loading…
Reference in New Issue
Block a user