From d5521f96a6a666a8d08672f66e4b3c2960c055df Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Mon, 20 Jul 2020 14:03:22 +0530 Subject: [PATCH] typo --- src/pyj/read_book/cfi.pyj | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pyj/read_book/cfi.pyj b/src/pyj/read_book/cfi.pyj index adeb7f3258..7b18299126 100644 --- a/src/pyj/read_book/cfi.pyj +++ b/src/pyj/read_book/cfi.pyj @@ -790,7 +790,7 @@ def cfi_for_selection(r): # {{{ return { 'start': encode(r.startContainer.ownerDocument, *pos(r.startContainer, r.startOffset)), - 'end': encode(r.endContainer.ownerDocument, *(r.endContainer, r.endOffset)), + 'end': encode(r.endContainer.ownerDocument, *pos(r.endContainer, r.endOffset)), } # }}}