Commit 58f534fe authored by Saul Ibarra's avatar Saul Ibarra

Set SSL_CERT_FILE env variable when running frozen

parent eb3ac195
...@@ -48,7 +48,7 @@ if hasattr(sys, 'frozen'): ...@@ -48,7 +48,7 @@ if hasattr(sys, 'frozen'):
makedirs(ApplicationData.get('logs')) makedirs(ApplicationData.get('logs'))
sys.stdout.file = open(ApplicationData.get('logs/output.log'), 'a', 0) sys.stdout.file = open(ApplicationData.get('logs/output.log'), 'a', 0)
import httplib2 import httplib2
httplib2.CA_CERTS = Resources.get('tls/cacerts.txt') httplib2.CA_CERTS = os.environ['SSL_CERT_FILE'] = Resources.get('tls/cacerts.pem')
class IPAddressMonitor(object): class IPAddressMonitor(object):
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment