Skip to content

Commit ee3d693

Browse files
committed
Try fixing wustho#87 & bump version
1 parent 1b4a0e4 commit ee3d693

File tree

4 files changed

+5
-4
lines changed

4 files changed

+5
-4
lines changed

pyproject.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[tool.poetry]
22
name = "epy-reader"
3-
version = "2023.2.8"
3+
version = "2023.6.11"
44
description = "TUI Ebook Reader"
55
authors = ["Benawi Adha <[email protected]>"]
66
license = "GPL-3.0"

setup.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55

66
setup(
77
name="epy-reader",
8-
version="2023.2.8",
8+
version="2023.6.11",
99
description="Terminal/CLI Ebook (epub, fb2, mobi, azw3) Reader",
1010
long_description=long_description,
1111
long_description_content_type="text/markdown",

src/epy_reader/__init__.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
__version__ = "2023.2.8"
1+
__version__ = "2023.6.11"
22
__license__ = "GPL-3.0"
33
__author__ = "Benawi Adha"
44
__email__ = "[email protected]"

src/epy_reader/reader.py

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
import copy
12
import curses
23
import dataclasses
34
import multiprocessing
@@ -146,7 +147,7 @@ def run_counting_letters(self):
146147
self._process_counting_letter = multiprocessing.Process(
147148
name="epy-subprocess-counting-letters",
148149
target=count_letters_parallel,
149-
args=(self.ebook, self._proc_child),
150+
args=(copy.deepcopy(self.ebook), self._proc_child),
150151
)
151152
# forking will raise
152153
# zlib.error: Error -3 while decompressing data: invalid distance too far back

0 commit comments

Comments
 (0)