Tweak debug line
This commit is contained in:
parent
6b7c161bce
commit
3f2ee35d59
1 changed files with 1 additions and 1 deletions
|
@ -1298,7 +1298,7 @@ Zotero.Attachments = new function(){
|
|||
let contentType = req.getResponseHeader('Content-Type');
|
||||
// If DOI resolves directly to a PDF, save it to disk
|
||||
if (contentType == 'application/pdf') {
|
||||
Zotero.debug("DOI resolves directly to PDF");
|
||||
Zotero.debug("URL resolves directly to PDF");
|
||||
await Zotero.File.putContentsAsync(path, blob);
|
||||
return { url: responseURL, props: urlResolver };
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue