scripts for my gemini capsule
Diffstat (limited to 'lsv.py')
-rwxr-xr-xlsv.py9
1 files changed, 7 insertions, 2 deletions
diff --git a/lsv.py b/lsv.py
index 9902198..3391d9d 100755
--- a/lsv.py
+++ b/lsv.py
@@ -26,9 +26,14 @@ def main(qs):
print("51 " + str(passages[0][0]) + "'\r\n")
return
print("20 text/gemini\r\n")
- print("=> https://www.lsvbible.com/p/get-lsv.html Literal Standard Version text from lsvbible.com (CC-BY-ND-NC)")
+ printlsv(passages)
+
+def printlsv(passages, title = True, plug=True):
+ if plug:
+ print("=> https://www.lsvbible.com/p/get-lsv.html Literal Standard Version text from lsvbible.com (CC-BY-SA)")
for passage in passages:
- print("# " + passage.format())
+ if title:
+ print("# " + passage.format())
printing = False
f = open('lsv.txt')
startmark = passage.start.format('a')[0:3]+" "+passage.start.format('c:v')