Skip to content

Commit

Permalink
Fixed ruff errors
Browse files Browse the repository at this point in the history
  • Loading branch information
RamonBeast committed May 11, 2024
1 parent 30c77d9 commit 32db306
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion radiacode/radiacode.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 32db306

Please sign in to comment.