Skip to content

Commit

Permalink
Fix for flake8
Browse files Browse the repository at this point in the history
  • Loading branch information
wkentaro committed Dec 25, 2018
1 parent f92793b commit 7d29a27
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
4 changes: 2 additions & 2 deletions labelme/app.py
Original file line number Diff line number Diff line change
Expand Up @@ -911,9 +911,9 @@ def format_shape(s):
return dict(
label=s.label.encode('utf-8') if PY2 else s.label,
line_color=s.line_color.getRgb()
if s.line_color != self.lineColor else None,
if s.line_color != self.lineColor else None,
fill_color=s.fill_color.getRgb()
if s.fill_color != self.fillColor else None,
if s.fill_color != self.fillColor else None,
points=[(p.x(), p.y()) for p in s.points],
shape_type=s.shape_type,
)
Expand Down
1 change: 0 additions & 1 deletion labelme/label_file.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
import base64
import json
import os.path
import sys

from . import logger
from . import PY2
Expand Down

0 comments on commit 7d29a27

Please sign in to comment.