diff --git a/src/main.rs b/src/main.rs index 645e026..10ea31e 100644 --- a/src/main.rs +++ b/src/main.rs @@ -407,7 +407,7 @@ fn convert_textures() -> AResult<()>{ for entry in std::fs::read_dir("textures/unprocessed")? { let file_thing=entry?; threads.push(std::thread::spawn(move ||{ - let file_name=file_thing.file_name(); + let file_name=format!("{:?}",file_thing); let result=convert(file_thing); if let Err(e)=result{ println!("error processing file:{:?} error message:{:?}",file_name,e);