diff options
author | benadha <benawiadha@gmail.com> | 2021-02-02 19:15:09 +0700 |
---|---|---|
committer | benadha <benawiadha@gmail.com> | 2021-02-02 19:19:12 +0700 |
commit | aac7813abc0ceaedbbca37a0b898ae161b6e8c0f (patch) | |
tree | 2e270f107f2a6d4de91d6d5a4575d755d205c64a /epy.py | |
parent | 853b0ade469033c266c800ed2369bb21c94c59df (diff) | |
download | epy-aac7813abc0ceaedbbca37a0b898ae161b6e8c0f.tar.gz |
TTS in double spread mode
Diffstat (limited to 'epy.py')
-rwxr-xr-x | epy.py | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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: |