Skip to content
2 changes: 1 addition & 1 deletion installer/module/virtual_environment.py
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ def import_package_bundle(
# Write conditional import that checks environment variable
pth_content = (
f"import os, sys; "
f"sys.path.insert(0, '{bundle_site_package_path}') "
f"sys.path.append('{bundle_site_package_path}') "
f"if os.environ.get('{condition_env}', '').lower() == 'true' else None"
)
pth_file.write(pth_content + "\n")
Expand Down