Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

馃悶 U16TupleEvent.value is broken #68

Closed
demberto opened this issue Sep 29, 2022 · 0 comments
Closed

馃悶 U16TupleEvent.value is broken #68

demberto opened this issue Sep 29, 2022 · 0 comments
Assignees
Labels
bug Something isn't working events Low-level API
Milestone

Comments

@demberto
Copy link
Owner

PyFLP/pyflp/_events.py

Lines 301 to 310 in 2ff2d3c

class U16TupleEvent(DWordEventBase[Tuple[int, int]]):
"""An event used for storing a two-tuple of 2 byte unsigned integers."""
@property
def value(self) -> tuple[int, int]:
return UInt.unpack(self._raw)
@value.setter
def value(self, value: tuple[int, int]):
self._raw = UInt.pack(*value)

This happens when testing isn't enough :(

@demberto demberto added the bug Something isn't working label Sep 29, 2022
@demberto demberto added this to the PyFLP 2.0.0 milestone Sep 29, 2022
@demberto demberto self-assigned this Sep 29, 2022
demberto added a commit that referenced this issue Sep 29, 2022
@demberto demberto added the events Low-level API label Oct 8, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working events Low-level API
Projects
None yet
Development

No branches or pull requests

1 participant