From 7c081170d51d4c88de2324b959cb5d51b6f7f936 Mon Sep 17 00:00:00 2001 From: Dan Stillman Date: Sun, 16 Nov 2008 13:36:59 +0000 Subject: [PATCH] Fix error replacing non-empty export directory --- chrome/content/zotero/xpcom/translate.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/chrome/content/zotero/xpcom/translate.js b/chrome/content/zotero/xpcom/translate.js index 5a91ede95e..66830dbf06 100644 --- a/chrome/content/zotero/xpcom/translate.js +++ b/chrome/content/zotero/xpcom/translate.js @@ -1897,7 +1897,7 @@ Zotero.Translate.prototype._export = function() { // delete this file if it exists if(this.location.exists()) { - this.location.remove(false); + this.location.remove(true); } // get name