1
0
mirror of https://github.com/librenms/librenms-agent.git synced 2024-05-09 09:54:52 +00:00

Fix redundant line

This commit is contained in:
Anael Mobilia
2020-04-08 17:59:44 +02:00
committed by GitHub
parent a19293219b
commit 359a7b5630

View File

@ -28,7 +28,6 @@ def get_certificate_data(domain, port=443):
ssl_info = {}
try:
conn.connect((domain, port))
error_msg = None
ssl_info = conn.getpeercert()
except ConnectionRefusedError as e:
error_msg = e