Update io.rs

This commit is contained in:
Shunsuke Shibayama 2023-12-28 15:10:41 +09:00
parent a2d1809cee
commit 360c381b34

View file

@ -97,6 +97,9 @@ impl InputKind {
if let Self::File(path) = self {
let mut path = path.clone();
path.pop();
if path.ends_with("__pycache__") {
path.pop();
}
if path.parent().is_none() {
PathBuf::from(".")
} else {