mirror of
https://git.quad4.io/RNS-Things/MeshChatX.git
synced 2026-05-24 12:15:19 +00:00
fix(meshchat): format
This commit is contained in:
@@ -9590,9 +9590,7 @@ class ReticulumMeshChat:
|
||||
try:
|
||||
if custom_ssl:
|
||||
if not os.path.isfile(cert_path) or not os.path.isfile(key_path):
|
||||
msg = (
|
||||
f"Custom SSL files not found (cert={cert_path!r}, key={key_path!r})"
|
||||
)
|
||||
msg = f"Custom SSL files not found (cert={cert_path!r}, key={key_path!r})"
|
||||
raise FileNotFoundError(msg)
|
||||
ssl_context = ssl.SSLContext(ssl.PROTOCOL_TLS_SERVER)
|
||||
ssl_context.load_cert_chain(cert_path, key_path)
|
||||
|
||||
Reference in New Issue
Block a user