www

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | Submodules | README | LICENSE

commit b7a24a58fb45cb451e7ffc4b17f5016dde692208
parent 31f0f0d21001deac3b36705bbeb53d38b293cffb
Author: Dan Stillman <dstillman@zotero.org>
Date:   Wed, 31 Jan 2018 05:34:50 -0500

Use temp directory for recognizePDFCache.txt

Diffstat:
Mchrome/content/zotero/recognizePDF.js | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/chrome/content/zotero/recognizePDF.js b/chrome/content/zotero/recognizePDF.js @@ -136,7 +136,7 @@ var Zotero_RecognizePDF = new function() { * @return {Promise} */ function _extractText(file, pages) { - var cacheFile = Zotero.File.pathToFile(Zotero.DataDirectory.dir); + var cacheFile = Zotero.getTempDirectory(); cacheFile.append("recognizePDFcache.txt"); if(cacheFile.exists()) { cacheFile.remove(false);