more things, but mostly starting to add library management
Some checks are pending
/ test (push) Waiting to run
Some checks are pending
/ test (push) Waiting to run
This commit is contained in:
parent
3fe77c93e2
commit
645411b59c
13 changed files with 341 additions and 260 deletions
|
|
@ -52,7 +52,9 @@ impl Content for Image {
|
|||
if self.path.exists() {
|
||||
self.path
|
||||
.file_name()
|
||||
.map_or("Missing image".into(), |f| f.to_string_lossy().to_string())
|
||||
.map_or("Missing image".into(), |f| {
|
||||
f.to_string_lossy().to_string()
|
||||
})
|
||||
} else {
|
||||
"Missing image".into()
|
||||
}
|
||||
|
|
@ -158,7 +160,9 @@ impl Model<Image> {
|
|||
}
|
||||
}
|
||||
Err(e) => {
|
||||
error!("There was an error in converting images: {e}");
|
||||
error!(
|
||||
"There was an error in converting images: {e}"
|
||||
);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue