Fixed pycodestyle E7 errors

This commit is contained in:
Veronica K. B. Olsen
2020-08-12 21:11:25 +02:00
parent 95ee2bf874
commit 72cb1ed60f
16 changed files with 38 additions and 36 deletions
+2 -2
View File
@@ -242,9 +242,9 @@ class StatusLED(QAbstractButton):
"""
if theState is None:
self._theCol = self.colNone
elif theState == True:
elif theState:
self._theCol = self.colTrue
elif theState == False:
elif not theState:
self._theCol = self.colFalse
else:
self._theCol = self.colNone