change to full path
This commit is contained in:
parent
95fd7f8e03
commit
67e36b0620
1 changed files with 1 additions and 1 deletions
|
|
@ -68,7 +68,7 @@ pub fn read_last_build_firmwares() -> Result<Vec<LastBuildFirmware>, Box<dyn std
|
|||
let dir = entry.unwrap();
|
||||
let meta = dir.clone().metadata().unwrap();
|
||||
|
||||
let filename = dir.clone().file_name().to_str().unwrap().to_string();
|
||||
let filename = dir.clone().path().to_str().unwrap().to_string();
|
||||
let mod_time: DateTime<Utc> = meta.modified().unwrap().into();
|
||||
let full_firmware = filename.clone().contains("full");
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue