about summary refs log tree commit diff
path: root/tcgnt.py
diff options
context:
space:
mode:
authorZach DeCook <zachdecook@librem.one>2023-12-11 23:42:33 +0000
committerZach DeCook <zachdecook@librem.one>2023-12-11 23:42:33 +0000
commitc07fe9cbcb7268c7eee9912e33cb0a2ef277941b (patch)
tree33485f337df7659df8bc5a9e0f303525460d7f1f /tcgnt.py
parent6d8988b6c7349e08393f1d51e7b09ea5fef008fd (diff)
downloadcgi-bin-c07fe9cbcb7268c7eee9912e33cb0a2ef277941b.tar.gz
tcgnt: fix problems
Diffstat (limited to 'tcgnt.py')
-rwxr-xr-xtcgnt.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/tcgnt.py b/tcgnt.py
index 3349ec0..bff5825 100755
--- a/tcgnt.py
+++ b/tcgnt.py
@@ -33,6 +33,8 @@ def printtcgnt(passages, title=True, plug=True, printStrongs=False):
     inendc = False
     bookn = passage.start.book
     #eprint(bookn)
+    if bookn-38 < 2:
+      return
     f = open(books[bookn-38])
     startc = passage.start.chapter
     startv= passage.start.verse