Skip to content

Commit 4d3c4c8

Browse files
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
1 parent d9d042f commit 4d3c4c8

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

‎pythonbible/pythonbible/parser.py‎

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -161,8 +161,7 @@ def _process_sub_references(
161161
normalized_sub_reference = sub_reference.strip().lstrip(" .,:;-")
162162

163163
if (
164-
not normalized_sub_reference
165-
or normalized_sub_reference in {DASH}
164+
not normalized_sub_reference or normalized_sub_reference in {DASH}
166165
) and not references:
167166
references.append(NormalizedReference(book, None, None, None, None, book))
168167
continue

0 commit comments

Comments
 (0)