Skip to content

Commit 07c4e56

Browse files
committed
fix parsing issue
Signed-off-by: Zen <[email protected]>
1 parent e1da1d0 commit 07c4e56

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
44

55
[project]
66
name = "pycpio"
7-
version = "1.1.5"
7+
version = "1.1.6"
88
authors = [
99
{ name="Desultory", email="[email protected]" },
1010
]

src/pycpio/writer/writer.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,9 +26,10 @@ def __init__(self, cpio_entries: list, output_file: Path, structure=None, compre
2626
elif isinstance(compression, str):
2727
compression = compression.lower()
2828
if compression == 'true':
29-
self.compression = True
29+
compression = True
3030
elif compression == 'false':
31-
self.compression = False
31+
compression = False
32+
self.compression = compression
3233
self.xz_crc = xz_crc
3334

3435
def __bytes__(self):

0 commit comments

Comments
 (0)