Skip to content

Commit

Permalink
Fix pylint again
Browse files Browse the repository at this point in the history
  • Loading branch information
PaulSchweizer committed Nov 24, 2023
1 parent 591d431 commit a5584de
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions ascii_canvas/item.py
Original file line number Diff line number Diff line change
Expand Up @@ -97,8 +97,7 @@ def position(self) -> List[int]:
"""Offset the position if the start is left of the end."""
if self.start[1] <= self.end[1]:
return self.start
else:
return [self.start[0], self.start[1] - self.bbox[3]]
return [self.start[0], self.start[1] - self.bbox[3]]


class Rectangle(Item):
Expand Down

0 comments on commit a5584de

Please sign in to comment.