@scrypted/server 0.94.12 → 0.94.13
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/python/plugin_remote.py +0 -9
package/package.json
CHANGED
package/python/plugin_remote.py
CHANGED
@@ -9,7 +9,6 @@ import multiprocessing.connection
|
|
9
9
|
import os
|
10
10
|
import platform
|
11
11
|
import shutil
|
12
|
-
import ssl
|
13
12
|
import sys
|
14
13
|
import threading
|
15
14
|
import time
|
@@ -33,14 +32,6 @@ from scrypted_python.scrypted_sdk.types import (Device, DeviceManifest,
|
|
33
32
|
ScryptedInterfaceProperty,
|
34
33
|
Storage)
|
35
34
|
|
36
|
-
default_create_default_context = ssl.create_default_context
|
37
|
-
def new_create_default_context(*args, **kwargs):
|
38
|
-
capath = os.path.dirname(os.path.dirname(sys.executable)) + "/lib/python3.9/site-packages/pip/_vendor/certifi/cacert.pem"
|
39
|
-
return default_create_default_context(*args, cafile=capath, **kwargs)
|
40
|
-
|
41
|
-
ssl.create_default_context = new_create_default_context
|
42
|
-
ssl._create_default_https_context = new_create_default_context
|
43
|
-
|
44
35
|
class ClusterObject(TypedDict):
|
45
36
|
id: str
|
46
37
|
port: int
|