From ae7dffa211af209aea2ca13b37729e390047dd7c Mon Sep 17 00:00:00 2001 From: Nate Sesti Date: Tue, 29 Aug 2023 10:39:25 -0700 Subject: feat: :mute: complete removal of telemetry when allow_anonymous_telemetry false --- run.py | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) (limited to 'run.py') diff --git a/run.py b/run.py index 295ed086..cc58ea00 100644 --- a/run.py +++ b/run.py @@ -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() -- cgit v1.2.3-70-g09d2