There was an error while loading. Please reload this page.
1 parent 6f4b26f commit 201b074Copy full SHA for 201b074
1 file changed
mergin/client.py
@@ -11,7 +11,6 @@
11
import platform
12
from datetime import datetime, timezone
13
import dateutil.parser
14
-import truststore
15
from enum import Enum, auto
16
import re
17
import typing
@@ -71,7 +70,12 @@
71
70
)
72
from .version import __version__
73
74
-truststore.inject_into_ssl()
+try:
+ import truststore
75
+
76
+ truststore.inject_into_ssl()
77
+except ImportError:
78
+ pass
79
80
json_headers = {"Content-Type": "application/json"}
81
0 commit comments