diff --git a/docutranslate/global_values/__init__.py b/docutranslate/global_values/__init__.py index c97f7da..ccff879 100644 --- a/docutranslate/global_values/__init__.py +++ b/docutranslate/global_values/__init__.py @@ -4,5 +4,5 @@ from .conditional_import import available_packages, conditional_import USE_PROXY = True if (os.getenv("DOCUTRANSLATE_PROXY_ENABLED") and os.getenv( "DOCUTRANSLATE_PROXY_ENABLED").lower() == "true") else False - -print(f"USE_PROXY:{USE_PROXY}") +if USE_PROXY: + print(f"USE_PROXY:{USE_PROXY}")