diff options
-rwxr-xr-x | formatRefs.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/formatRefs.py b/formatRefs.py index e17aac2..8189f2d 100755 --- a/formatRefs.py +++ b/formatRefs.py @@ -55,7 +55,7 @@ def formatParent (s, g, n, useName = True): end = first (g.objects (n, s.pageEnd)) if start: num = int (end)-int (start) - if end and num > 1: + if end and num >= 1: ret.append ('pp. {}–{}'.format (start, end)) else: ret.append ('p. {}'.format (start)) |