small fix

This commit is contained in:
xunbu
2025-08-18 22:09:34 +08:00
parent 0402228c5e
commit 3798f042be

View File

@@ -4,5 +4,5 @@ from .conditional_import import available_packages, conditional_import
USE_PROXY = True if (os.getenv("DOCUTRANSLATE_PROXY_ENABLED") and os.getenv( USE_PROXY = True if (os.getenv("DOCUTRANSLATE_PROXY_ENABLED") and os.getenv(
"DOCUTRANSLATE_PROXY_ENABLED").lower() == "true") else False "DOCUTRANSLATE_PROXY_ENABLED").lower() == "true") else False
if USE_PROXY:
print(f"USE_PROXY:{USE_PROXY}") print(f"USE_PROXY:{USE_PROXY}")