From a8308bd49dff5781e307309b1b9797b4fdbb6f83 Mon Sep 17 00:00:00 2001 From: Zach DeCook Date: Fri, 22 Oct 2021 09:17:34 -0400 Subject: improve bible scripts --- oeb.py | 2 ++ 1 file changed, 2 insertions(+) (limited to 'oeb.py') diff --git a/oeb.py b/oeb.py index fcf05d5..7e97b26 100755 --- a/oeb.py +++ b/oeb.py @@ -39,6 +39,8 @@ def main(qs): for line in f: if f'\\c {startc}' == line.strip(): printing = 1 + if startv <= 1: + printing = 2 if printing == 1 and (f'\\v {startv} ' in line or f'\\v {startv}' == line.strip()): printing =2 if (f'\\c {endc}') == line.strip(): -- cgit 1.4.1