Update dataclass.py

This commit is contained in:
onyx-and-iris 2022-04-26 23:38:56 +01:00
parent c6b9fa6112
commit 0fc4f693fa

View File

@ -35,7 +35,7 @@ class VBAN_VMRT_Packet_Data:
def isdirty(self, other): def isdirty(self, other):
"""defines the dirty flag""" """defines the dirty flag"""
if ( return not (
self._stripState == other._stripState self._stripState == other._stripState
and self._busState == other._busState and self._busState == other._busState
and self._stripLabelUTF8c60 == other._stripLabelUTF8c60 and self._stripLabelUTF8c60 == other._stripLabelUTF8c60
@ -49,9 +49,7 @@ class VBAN_VMRT_Packet_Data:
and self._stripGaindB100Layer7 == other._stripGaindB100Layer7 and self._stripGaindB100Layer7 == other._stripGaindB100Layer7
and self._stripGaindB100Layer8 == other._stripGaindB100Layer8 and self._stripGaindB100Layer8 == other._stripGaindB100Layer8
and self._busGaindB100 == other._busGaindB100 and self._busGaindB100 == other._busGaindB100
): )
return False
return True
@property @property
def voicemeetertype(self) -> str: def voicemeetertype(self) -> str: