diff --git a/src/calibre/ebooks/lit/writer.py b/src/calibre/ebooks/lit/writer.py index 1fc50e0297..822f3fdc1b 100644 --- a/src/calibre/ebooks/lit/writer.py +++ b/src/calibre/ebooks/lit/writer.py @@ -674,7 +674,7 @@ class LitWriter(object): dchunk = StringIO() dcount = 0 quickref = [] - name = entry.name + name = en if (dcount % qrn) == 0: quickref.append(dchunk.tell()) dchunk.write(next)