Skip to content

Commit

Permalink
fix parsing issue
Browse files Browse the repository at this point in the history
Signed-off-by: Zen <z@pyl.onl>
  • Loading branch information
desultory committed Jun 7, 2024
1 parent e1da1d0 commit 07c4e56
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"

[project]
name = "pycpio"
version = "1.1.5"
version = "1.1.6"
authors = [
{ name="Desultory", email="dev@pyl.onl" },
]
Expand Down
5 changes: 3 additions & 2 deletions src/pycpio/writer/writer.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,9 +26,10 @@ def __init__(self, cpio_entries: list, output_file: Path, structure=None, compre
elif isinstance(compression, str):
compression = compression.lower()
if compression == 'true':
self.compression = True
compression = True
elif compression == 'false':
self.compression = False
compression = False
self.compression = compression
self.xz_crc = xz_crc

def __bytes__(self):
Expand Down

0 comments on commit 07c4e56

Please sign in to comment.