(val: Option<&String>)
| 170 | } |
| 171 | |
| 172 | fn is_not_none_or_zero(val: Option<&String>) -> bool { |
| 173 | match val { |
| 174 | Some(v) => v != "0", |
| 175 | None => false, |
| 176 | } |
| 177 | } |
| 178 | |
| 179 | /// Run a python script using the specified interpreter binary. |
| 180 | fn run_python_script(interpreter: &str, script: &str) -> Result<String, String> { |