diff options
Diffstat (limited to 'run.py')
-rw-r--r-- | run.py | 12 |
1 files changed, 7 insertions, 5 deletions
@@ -1,12 +1,14 @@ -from continuedev.main import main import os import sys -if getattr(sys, 'frozen', False) and hasattr(sys, '_MEIPASS'): - ca_bundle_path = os.path.join(sys._MEIPASS, 'ca_bundle', 'cacert.pem') +from continuedev.main import main + +if getattr(sys, "frozen", False) and hasattr(sys, "_MEIPASS"): + ca_bundle_path = os.path.join(sys._MEIPASS, "ca_bundle", "cacert.pem") print("Certificates at: ", ca_bundle_path) - os.environ['SSL_CERT_FILE'] = ca_bundle_path - os.environ['REQUESTS_CA_BUNDLE'] = ca_bundle_path + os.environ["SSL_CERT_FILE"] = ca_bundle_path + os.environ["REQUESTS_CA_BUNDLE"] = ca_bundle_path if __name__ == "__main__": + print("Running Continue server version 0.0.350") main() |