Skip to content

Commit 71eec01

Browse files
[autofix.ci] apply automated fixes
1 parent 9f3ce69 commit 71eec01

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

mitmproxy-rs/src/process_info.rs

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,6 @@
11
use std::path::{Path, PathBuf};
22

3-
use anyhow::Context;
43
use pyo3::prelude::*;
5-
use pyo3::IntoPyObjectExt;
64

75
#[cfg(any(windows, target_os = "macos", target_os = "linux"))]
86
use mitmproxy::processes;
@@ -80,6 +78,5 @@ pub fn executable_icon(py: Python<'_>, path: PathBuf) -> PyResult<PyObject> {
8078
#[cfg(not(any(windows, target_os = "macos")))]
8179
Err(pyo3::exceptions::PyNotImplementedError::new_err(
8280
"executable_icon is only available on Windows",
83-
)
84-
.into())
81+
))
8582
}

0 commit comments

Comments
 (0)