This commit is contained in:
Alex Janka 2021-09-24 13:38:10 +10:00
parent 6bd4579163
commit 8d8e160bd0

View file

@ -9,7 +9,7 @@ fn main() {
return;
}
let file_load = PathBuf::from(args[1].as_str());
if file_load.extension().expect("no extension") != "adg" {
if file_load.extension().expect("wrong/no extension") != "adg" {
return;
}
let mut path_str = String::from("");