Fix startup error from previous commit
This commit is contained in:
parent
30e38a1b24
commit
a615571caa
1 changed files with 3 additions and 0 deletions
|
@ -246,6 +246,7 @@ Zotero.Translator = function(file) {
|
|||
var lastUpdatedIndex = str.value.indexOf('"lastUpdated"');
|
||||
if (lastUpdatedIndex == -1) {
|
||||
this.logError("Invalid or missing translator metadata JSON object");
|
||||
fStream.close();
|
||||
return;
|
||||
}
|
||||
|
||||
|
@ -299,6 +300,8 @@ Zotero.Translator = function(file) {
|
|||
|
||||
}
|
||||
}
|
||||
|
||||
fStream.close();
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue