From 9914353428382b856772d40165e584a557d14fd3 Mon Sep 17 00:00:00 2001 From: m1stadev Date: Sun, 21 Apr 2024 20:49:56 -0500 Subject: [PATCH] parser: fix bug where `apple_compress` is never imported on *OS systems --- pyimg4/parser.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyimg4/parser.py b/pyimg4/parser.py index 5c3f875..39a782b 100644 --- a/pyimg4/parser.py +++ b/pyimg4/parser.py @@ -9,7 +9,7 @@ from .errors import CompressionError, UnexpectedDataError, UnexpectedTagError from .types import Compression, KeybagType, Payload -if platform == 'Darwin': +if platform == 'darwin': import apple_compress def _lzfse_compress(data: bytes) -> bytes: