From 6595e00a1939dbc4333b51002a3e8307dcefa6bc Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Mon, 15 Mar 2021 11:31:02 +0530 Subject: [PATCH] ... --- src/pyj/read_book/annotations.pyj | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/pyj/read_book/annotations.pyj b/src/pyj/read_book/annotations.pyj index 00cd98a4f2..72e347a59c 100644 --- a/src/pyj/read_book/annotations.pyj +++ b/src/pyj/read_book/annotations.pyj @@ -32,8 +32,8 @@ def sort_annot_list(annots, get_cfi_func): key_map[cfi] = cfi_sort_key(cfi) cfi_cmp = create_cfi_cmp(key_map) annots.sort(def (a, b): - acfi = get_cfi_func(a) or no_cfi - bcfi = get_cfi_func(b) or no_cfi + acfi = get_cfi_func(a) + bcfi = get_cfi_func(b) return cfi_cmp(acfi, bcfi) )