diff options
author | Benawi Adha <benawiadha@gmail.com> | 2023-06-11 12:15:44 +0700 |
---|---|---|
committer | Benawi Adha <benawiadha@gmail.com> | 2023-06-11 12:15:44 +0700 |
commit | ee3d6932be21b8bb69881d625b201758ee125eb3 (patch) | |
tree | 64ff31f79dd76bc5addcf32a857d1af1f64d26d6 /src/epy_reader | |
parent | 1b4a0e46163804251fc2c0605ae713a438792cc4 (diff) | |
download | epy-ee3d6932be21b8bb69881d625b201758ee125eb3.tar.gz |
Try fixing #87 & bump version
Diffstat (limited to 'src/epy_reader')
-rw-r--r-- | src/epy_reader/__init__.py | 2 | ||||
-rw-r--r-- | src/epy_reader/reader.py | 3 |
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 |