Skip to content

Commit aaf45af

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

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, PERIOD}
164+
not normalized_sub_reference or normalized_sub_reference in {DASH, PERIOD}
166165
) and not references:
167166
references.append(NormalizedReference(book, None, None, None, None, book))
168167
continue

0 commit comments

Comments
 (0)