diff --git a/pyflp/_events.py b/pyflp/_events.py index 0eb94b2..24107b8 100644 --- a/pyflp/_events.py +++ b/pyflp/_events.py @@ -120,7 +120,7 @@ def __init__(self, id: EventEnum, data: bytes, **kwds: Any) -> None: if len(data) != expected_size: raise InvalidEventChunkSize(expected_size, len(data)) - # Conditional fix for Windows with Python 3.13+ + # Conditional fix for Windows with Python 3.13+ if platform.system() == "Windows" and sys.version_info >= (3, 13): self.id = id # Apply workaround for affected environments else: