From 3f2ee35d598c91d0c00240ff185e971c0fd296bb Mon Sep 17 00:00:00 2001 From: Dan Stillman Date: Thu, 6 Sep 2018 17:20:57 -0400 Subject: [PATCH] Tweak debug line --- chrome/content/zotero/xpcom/attachments.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/chrome/content/zotero/xpcom/attachments.js b/chrome/content/zotero/xpcom/attachments.js index da9780ceb8..407cfb8d8b 100644 --- a/chrome/content/zotero/xpcom/attachments.js +++ b/chrome/content/zotero/xpcom/attachments.js @@ -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 }; }