diff options
author | Stany MARCEL <stanypub@gmail.com> | 2015-11-02 23:39:29 +0300 |
---|---|---|
committer | Stany MARCEL <stanypub@gmail.com> | 2015-11-02 23:39:29 +0300 |
commit | 67f134311be2bba98bcde544074f4b0f49a7cb49 (patch) | |
tree | 6fb8fd3e14dfb0d4a3aa63429b7282d4ceae133a /src | |
parent | 59761e83b240fe7573370f542ea6e877c5850907 (diff) |
Remove some pylint warnings
Signed-off-by: Stany MARCEL <stanypub@gmail.com>
Diffstat (limited to 'src')
-rw-r--r-- | src/__init__.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/__init__.py b/src/__init__.py index 90048c6..d2c3485 100644 --- a/src/__init__.py +++ b/src/__init__.py @@ -134,7 +134,8 @@ class SteamController(object): def _processReceivedData(self, transfer): """Private USB async Rx function""" - if transfer.getStatus() != usb1.TRANSFER_COMPLETED or transfer.getActualLength() != 64: + if (transfer.getStatus() != usb1.TRANSFER_COMPLETED or + transfer.getActualLength() != 64): return data = transfer.getBuffer() |