Fix translator updates
This commit is contained in:
parent
90cc7efef4
commit
c5dad533a1
1 changed files with 1 additions and 2 deletions
|
@ -446,10 +446,9 @@ Zotero.Translators = new function() {
|
|||
|
||||
var translator = Zotero.Translators.get(metadata.translatorID);
|
||||
var sameFile = translator && destFile == translator.path;
|
||||
if (sameFile) return;
|
||||
|
||||
var exists = yield OS.File.exists(destFile);
|
||||
if (exists) {
|
||||
if (!sameFile && exists) {
|
||||
var msg = "Overwriting translator with same filename '"
|
||||
+ fileName + "'";
|
||||
Zotero.debug(msg, 1);
|
||||
|
|
Loading…
Reference in a new issue