Skip to content

Commit

Permalink
Apply ruff
Browse files Browse the repository at this point in the history
  • Loading branch information
wkentaro committed Dec 30, 2023
1 parent 9f34a8d commit c0330d4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion labelme/app.py
Original file line number Diff line number Diff line change
Expand Up @@ -1510,7 +1510,7 @@ def togglePolygons(self, value):
flag = value
for item in self.labelList:
if value is None:
flag = (item.checkState() == Qt.Unchecked)
flag = item.checkState() == Qt.Unchecked
item.setCheckState(Qt.Checked if flag else Qt.Unchecked)

def loadFile(self, filename=None):
Expand Down

0 comments on commit c0330d4

Please sign in to comment.