Skip to content

Commit 5ad75f7

Browse files
committed
Compare against other.data_dict
1 parent 577f1f4 commit 5ad75f7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

adafruit_ble/advertising/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -303,7 +303,7 @@ def __bytes__(self):
303303

304304
def __eq__(self, other):
305305
if isinstance(other, Advertisement):
306-
return self.data_dict == self.data_dict
306+
return self.data_dict == other.data_dict
307307
return False
308308

309309
def __str__(self):

0 commit comments

Comments
 (0)