Tweak debug line

This commit is contained in:
Dan Stillman 2018-09-06 17:20:57 -04:00
parent 6b7c161bce
commit 3f2ee35d59

View file

@ -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 };
}