forked from LBRYCommunity/lbry-sdk
Make ca_path checks for frozen windows only
This commit is contained in:
parent
dd631328e0
commit
7d535ef7d1
1 changed files with 1 additions and 1 deletions
|
@ -32,7 +32,7 @@ log = logging.getLogger(__name__)
|
|||
|
||||
REMOTE_SERVER = "www.google.com"
|
||||
|
||||
if getattr(sys, 'frozen', False):
|
||||
if getattr(sys, 'frozen', False) and os.name == "nt":
|
||||
os.environ["REQUESTS_CA_BUNDLE"] = os.path.join(os.getcwd(), "cacert.pem")
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue