aboutsummaryrefslogtreecommitdiffstats
path: root/src/epy_reader
diff options
context:
space:
mode:
Diffstat (limited to 'src/epy_reader')
-rw-r--r--src/epy_reader/__init__.py2
-rw-r--r--src/epy_reader/reader.py3
2 files changed, 3 insertions, 2 deletions
diff --git a/src/epy_reader/__init__.py b/src/epy_reader/__init__.py
index 9c557c5..4f071cd 100644
--- a/src/epy_reader/__init__.py
+++ b/src/epy_reader/__init__.py
@@ -1,4 +1,4 @@
-__version__ = "2023.2.8"
+__version__ = "2023.6.11"
__license__ = "GPL-3.0"
__author__ = "Benawi Adha"
__email__ = "benawiadha@gmail.com"
diff --git a/src/epy_reader/reader.py b/src/epy_reader/reader.py
index 60feed6..ee615f8 100644
--- a/src/epy_reader/reader.py
+++ b/src/epy_reader/reader.py
@@ -1,3 +1,4 @@
+import copy
import curses
import dataclasses
import multiprocessing
@@ -146,7 +147,7 @@ class Reader:
self._process_counting_letter = multiprocessing.Process(
name="epy-subprocess-counting-letters",
target=count_letters_parallel,
- args=(self.ebook, self._proc_child),
+ args=(copy.deepcopy(self.ebook), self._proc_child),
)
# forking will raise
# zlib.error: Error -3 while decompressing data: invalid distance too far back