From 0fc4f693fab7648e76e98439b8e0d2fe171daefd Mon Sep 17 00:00:00 2001 From: onyx-and-iris <75868496+onyx-and-iris@users.noreply.github.com> Date: Tue, 26 Apr 2022 23:38:56 +0100 Subject: [PATCH] Update dataclass.py --- vbancmd/dataclass.py | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/vbancmd/dataclass.py b/vbancmd/dataclass.py index 4b08090..635e2ea 100644 --- a/vbancmd/dataclass.py +++ b/vbancmd/dataclass.py @@ -35,7 +35,7 @@ class VBAN_VMRT_Packet_Data: def isdirty(self, other): """defines the dirty flag""" - if ( + return not ( self._stripState == other._stripState and self._busState == other._busState and self._stripLabelUTF8c60 == other._stripLabelUTF8c60 @@ -49,9 +49,7 @@ class VBAN_VMRT_Packet_Data: and self._stripGaindB100Layer7 == other._stripGaindB100Layer7 and self._stripGaindB100Layer8 == other._stripGaindB100Layer8 and self._busGaindB100 == other._busGaindB100 - ): - return False - return True + ) @property def voicemeetertype(self) -> str: