Use temp directory for recognizePDFCache.txt
This commit is contained in:
parent
31f0f0d210
commit
b7a24a58fb
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Reference in a new issue