]> Repositories - Adafruit_Blinka-hackapet.git/blobdiff - src/adafruit_blinka/microcontroller/bcm283x/pwmio/PWMOut.py
Update PWMOut.py
[Adafruit_Blinka-hackapet.git] / src / adafruit_blinka / microcontroller / bcm283x / pwmio / PWMOut.py
index 3a58d64afbdf39226de60228e60c26d1efa66032..c1494064be57c55a0551c059c2a71a9a87488c42 100644 (file)
@@ -103,8 +103,8 @@ class PWMOut:            # pylint: disable=invalid-name
             raise TypeError("Invalid duty cycle type, should be int or float.")
 
         if not 0 <= duty_cycle <= 65535:
-            raise ValueError("Invalid duty cycle value, should be between "
-                             "0 and 65535")
+            raise ValueError(
+                "Invalid duty cycle value, should be between 0 and 65535")
 
         # convert from 16-bit
         duty_cycle /= 65535.0