From 7c892774087de656c372adb833d37ba4d2518b3b Mon Sep 17 00:00:00 2001 From: Eli Schwartz Date: Mon, 17 Jun 2019 20:49:21 -0400 Subject: [PATCH] fix documentation typos --- src/calibre/ebooks/metadata/fb2.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/calibre/ebooks/metadata/fb2.py b/src/calibre/ebooks/metadata/fb2.py index 93316484bc..13b39ce2e6 100644 --- a/src/calibre/ebooks/metadata/fb2.py +++ b/src/calibre/ebooks/metadata/fb2.py @@ -257,8 +257,8 @@ def _parse_tags(root, mi, ctx): def _parse_series(root, mi, ctx): - # calibri supports only 1 series: use the 1-st one - # pick up sequence but only from 1 secrion in preferred order + # calibre supports only 1 series: use the 1-st one + # pick up sequence but only from 1 section in preferred order # except xp_ti = '//fb:title-info/fb:sequence[1]' xp_pi = '//fb:publish-info/fb:sequence[1]' @@ -285,7 +285,7 @@ def _parse_isbn(root, mi, ctx): def _parse_comments(root, mi, ctx): - # pick up annotation but only from 1 secrion ; fallback: + # pick up annotation but only from 1 section ; fallback: for annotation_sec in ['title-info', 'src-title-info']: elms_annotation = ctx.XPath('//fb:%s/fb:annotation' % annotation_sec)(root) if elms_annotation: