aboutsummaryrefslogtreecommitdiffstats
path: root/epy.py
diff options
context:
space:
mode:
authorbenadha <benawiadha@gmail.com>2021-02-02 19:15:09 +0700
committerbenadha <benawiadha@gmail.com>2021-02-02 19:19:12 +0700
commitaac7813abc0ceaedbbca37a0b898ae161b6e8c0f (patch)
tree2e270f107f2a6d4de91d6d5a4575d755d205c64a /epy.py
parent853b0ade469033c266c800ed2369bb21c94c59df (diff)
downloadepy-aac7813abc0ceaedbbca37a0b898ae161b6e8c0f.tar.gz
TTS in double spread mode
Diffstat (limited to 'epy.py')
-rwxr-xr-xepy.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/epy.py b/epy.py
index 9190f26..d76355a 100755
--- a/epy.py
+++ b/epy.py
@@ -14,7 +14,7 @@ Options:
"""
-__version__ = "2021.2.2"
+__version__ = "2021.2.3"
__license__ = "GPL-3.0"
__author__ = "Benawi Adha"
__email__ = "benawiadha@gmail.com"
@@ -1694,7 +1694,7 @@ def reader(ebook, index, width, y, pctg, sect):
elif k in K["TTSToggle"] and TTSSUPPORT:
# tospeak = "\n".join(src_lines[y:y+rows-1])
tospeak = ""
- for i in src_lines[y:y+rows]:
+ for i in src_lines[y:y+(rows*SPREAD)]:
if re.match(r"^\s*$", i) is not None:
tospeak += "\n. \n"
else: