This commit is contained in:
Antonio J. Delgado 2024-01-20 20:35:10 +02:00
parent bc1eec2f45
commit 8b2531dd11

View file

@ -171,9 +171,10 @@ same target, doing nothing."""
)
except KeyError:
self._log.error(
"Not enough interfaces?. %s",
"Not enough interfaces? %s",
iface
)
sys.exit(1)
elif self.config['ip_method'] == 'web':
s = requests.Session()
result = s.get(self.config['web_service_url'])