www

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | Submodules | README | LICENSE

commit a615571caa90159df66a4c21cee856b1557f380b
parent 30e38a1b243d8c97ea78a2b6009a2f896d705682
Author: Dan Stillman <dstillman@zotero.org>
Date:   Tue, 23 Mar 2010 19:09:47 +0000

Fix startup error from previous commit


Diffstat:
Mchrome/content/zotero/xpcom/translate.js | 3+++
1 file changed, 3 insertions(+), 0 deletions(-)

diff --git a/chrome/content/zotero/xpcom/translate.js b/chrome/content/zotero/xpcom/translate.js @@ -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(); }