mirror of
https://github.com/zotero/zotero.git
synced 2026-09-28 01:31:40 +00:00
fix import of non-RDF files, broken by last commit
This commit is contained in:
parent
402fa961ef
commit
03be861eff
1 changed files with 4 additions and 2 deletions
|
|
@ -400,8 +400,10 @@ Zotero.Translate.IO.Read.prototype = {
|
|||
var myIndex = Zotero.Translate.IO.maintainedInstances.indexOf(this);
|
||||
if(myIndex !== -1) Zotero.Translate.IO.maintainedInstances.splice(myIndex, 1);
|
||||
|
||||
this._rawStream.close();
|
||||
delete this._rawStream;
|
||||
if(this._rawStream) {
|
||||
this._rawStream.close();
|
||||
delete this._rawStream;
|
||||
}
|
||||
}
|
||||
}
|
||||
Zotero.Translate.IO.Read.prototype.__defineGetter__("contentLength",
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue