forked from LBRYCommunity/lbry-sdk
moved import certifi to run only on windows
This commit is contained in:
parent
0d35621a9a
commit
3d17c92bd3
1 changed files with 1 additions and 1 deletions
|
@ -1,10 +1,10 @@
|
|||
import certifi
|
||||
import os
|
||||
import sys
|
||||
|
||||
# Set SSL_CERT_FILE env variable for Twisted SSL verification on Windows
|
||||
# This needs to happen before anything else
|
||||
if 'win' in sys.platform:
|
||||
import certifi
|
||||
os.environ['SSL_CERT_FILE'] = certifi.where()
|
||||
|
||||
from lbrynet.core import log_support
|
||||
|
|
Loading…
Reference in a new issue