fixed artwork name

This commit is contained in:
WeeXnes 2025-01-08 03:15:33 +01:00
parent 3bc65317f9
commit 71a5a73cca

View file

@ -141,7 +141,7 @@ async fn download_image(serial: &str, arts_dir: &Path) -> Result<(), Box<dyn std
fs::create_dir_all(arts_dir)?;
let file_name = format!("{}.jpg", original_serial);
let file_name = format!("{}_COV.jpg", original_serial);
let mut file = File::create(arts_dir.join(file_name))?;
let mut content = response.bytes().await?;