Skip to content

Commit

Permalink
Fix typo in labelme/app.py
Browse files Browse the repository at this point in the history
  • Loading branch information
wkentaro committed Jul 31, 2018
1 parent bb803d0 commit 3d213d8
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 @@ -796,7 +796,7 @@ def format_shape(s):
self.imagePath, Qt.MatchExactly
)
if len(items) > 0:
if len(items) == 1:
if len(items) != 1:
raise RuntimeError('There are duplicate files.')
items[0].setCheckState(Qt.Checked)
# disable allows next and previous image to proceed
Expand Down

0 comments on commit 3d213d8

Please sign in to comment.