From 32db3066b86fb9409106aaa4cdb54cb46573e0f6 Mon Sep 17 00:00:00 2001 From: RamonBeast Date: Sat, 11 May 2024 12:17:29 +0800 Subject: [PATCH] Fixed ruff errors --- radiacode/radiacode.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/radiacode/radiacode.py b/radiacode/radiacode.py index caee0bb..e3217c2 100644 --- a/radiacode/radiacode.py +++ b/radiacode/radiacode.py @@ -30,7 +30,7 @@ def __init__( # Bluepy doesn't support MacOS: https://github.com/IanHarvey/bluepy/issues/44 self._bt_supported = platform.system() != 'Darwin' - if bluetooth_mac is not None and self._bt_supported == True: + if bluetooth_mac is not None and self._bt_supported is True: self._connection = Bluetooth(bluetooth_mac) else: self._connection = Usb(serial_number=serial_number)