Skip to content

Commit

Permalink
fix: python-compile setting (#2482)
Browse files Browse the repository at this point in the history
Fixes #2480
  • Loading branch information
jdx authored Aug 20, 2024
1 parent f78b25c commit 28fe7b8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/plugins/core/python.rs
Original file line number Diff line number Diff line change
Expand Up @@ -349,7 +349,7 @@ impl Backend for PythonPlugin {
fn install_version_impl(&self, ctx: &InstallContext) -> eyre::Result<()> {
let config = Config::get();
let settings = Settings::try_get()?;
if cfg!(windows) && settings.python_compile == Some(true) {
if cfg!(windows) || settings.python_compile == Some(true) {
self.install_compiled(ctx)?;
} else {
self.install_precompiled(ctx)?;
Expand Down

0 comments on commit 28fe7b8

Please sign in to comment.