mirror of
https://git.quad4.io/RNS-Things/MeshChatX.git
synced 2026-11-04 08:38:08 +00:00
fix(meshchat): format
This commit is contained in:
1 file changed
+1
-3
@@ -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