commit d89da8560650de8e087970377e66c7da7836fccd
parent efde92f1eeea5808934b677f826df393dc8ef448
Author: Dan Stillman <dstillman@zotero.org>
Date: Sat, 19 Nov 2016 17:15:46 -0500
Fix error when overwriting translation with some filename
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/chrome/content/zotero/xpcom/schema.js b/chrome/content/zotero/xpcom/schema.js
@@ -753,7 +753,7 @@ Zotero.Schema = new function(){
catch (e) {
if (e instanceof OS.File.Error && e.becauseExists) {
// Could overwrite automatically, but we want to log this
- let msg = "Overwriting translator with same filename '" + fileName + "'";
+ let msg = "Overwriting translator with same filename '" + entry.fileName + "'";
Zotero.debug(msg, 1);
Components.utils.reportError(msg);
yield OS.File.move(tmpFile, destFile);