refactor
This commit is contained in:
parent
c9910cb642
commit
b94400799f
|
@ -205,9 +205,9 @@ def run_module():
|
|||
else:
|
||||
module.delete_call(target=folder['id'])
|
||||
else:
|
||||
# devices_module = SyncthingModule(
|
||||
# api_url='/rest/config/devices',
|
||||
# )
|
||||
devices_module = SyncthingModule(
|
||||
api_url='/rest/config/devices',
|
||||
)
|
||||
devices = [] #devices_module.get_call()
|
||||
existing_device_ids = [device['deviceID'] for device in devices]
|
||||
self_id = module.result['response']['x-syncthing-id']
|
||||
|
|
Loading…
Reference in New Issue