Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/ynsta/steamcontroller.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorStany MARCEL <stanypub@gmail.com>2015-11-02 23:39:29 +0300
committerStany MARCEL <stanypub@gmail.com>2015-11-02 23:39:29 +0300
commit67f134311be2bba98bcde544074f4b0f49a7cb49 (patch)
tree6fb8fd3e14dfb0d4a3aa63429b7282d4ceae133a /src
parent59761e83b240fe7573370f542ea6e877c5850907 (diff)
Remove some pylint warnings
Signed-off-by: Stany MARCEL <stanypub@gmail.com>
Diffstat (limited to 'src')
-rw-r--r--src/__init__.py3
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()