diff --git a/native_locator/src/main.rs b/native_locator/src/main.rs index 8a11101404dd..fac7050259de 100644 --- a/native_locator/src/main.rs +++ b/native_locator/src/main.rs @@ -29,7 +29,7 @@ fn main() { // Finds Windows Store, Known Path, and Registry pythons #[cfg(windows)] - windows_python::find_and_report(&mut dispatcher, &known_paths); + windows_python::find_and_report(&mut dispatcher, &environment); match now.elapsed() { Ok(elapsed) => {