Coverart save to filesystem (#67)
Reviewed-on: #67 Co-authored-by: phoenix <kundeng00@pm.me> Co-committed-by: phoenix <kundeng00@pm.me>
This commit is contained in:
+1
-1
@@ -113,7 +113,7 @@ impl Song {
|
||||
Ok(song_path) => {
|
||||
let p = std::path::Path::new(&song_path);
|
||||
if p.exists() {
|
||||
match std::fs::remove_file(&p) {
|
||||
match std::fs::remove_file(p) {
|
||||
Ok(_) => Ok(()),
|
||||
Err(err) => Err(err),
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user