Skip to content

Commit

Permalink
Flake8 fix E712 comparison to True
Browse files Browse the repository at this point in the history
  • Loading branch information
bosd authored and Harvie committed Sep 1, 2022
1 parent 3a48998 commit a9a311a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bCNC/Sender.py
Original file line number Diff line number Diff line change
Expand Up @@ -743,7 +743,7 @@ def controllerStateChange(self, state):
self.mcontrol.viewParameters()
self.mcontrol.viewState()

if self.cleanAfter == True and self.running == False and state in ("Idle"):
if self.cleanAfter is True and self.running is False and state in ("Idle"):
self.cleanAfter = False
self.jobDone()

Expand Down

0 comments on commit a9a311a

Please sign in to comment.