Changeset 1039:928f23d94583
- Timestamp:
- 03/14/22 14:27:02 (3 years ago)
- Branch:
- python3
- Phase:
- public
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/mlx/rpc.py
r1034 r1039 9 9 import calendar 10 10 import sys 11 import ssl 12 import certifi 11 13 12 14 #--------------------------------------------------------------------------------------- … … 481 483 self._getCredentialsFn = getCredentialsFn 482 484 483 self._server = jsonrpclib.Server(MAVA_BASE_URL + "/jsonrpc.php") 485 sslContext = ssl.SSLContext() 486 sslContext.load_verify_locations(cafile = certifi.where()) 487 transport = jsonrpclib.jsonrpc.SafeTransport(jsonrpclib.config.DEFAULT, 488 sslContext) 489 490 self._server = jsonrpclib.Server(MAVA_BASE_URL + "/jsonrpc.php", 491 transport = transport) 484 492 485 493 self._userName = None
Note:
See TracChangeset
for help on using the changeset viewer.