mirror of
https://github.com/ankitects/anki.git
synced 2025-09-24 16:56:36 -04:00
add debug line
This commit is contained in:
parent
1f35ff0bd5
commit
631bdc2a1e
1 changed files with 2 additions and 1 deletions
|
@ -585,7 +585,8 @@ fn zip_files(media_folder: &Path, files: &[MediaEntry]) -> Result<Vec<u8>> {
|
|||
}
|
||||
|
||||
let normalized = normalize_filename(&file.fname);
|
||||
if let Cow::Owned(_) = normalized {
|
||||
if let Cow::Owned(o) = normalized {
|
||||
debug!("media check required: {} should be {}", &file.fname, o);
|
||||
return Err(media_check_required());
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue