Skip to content

Commit

Permalink
Merge pull request #19 from Finomnis/remove_pointless_default_values
Browse files Browse the repository at this point in the history
Remove pointless default values
  • Loading branch information
Finomnis committed Feb 25, 2023
2 parents cbee1a3 + 4b882ef commit 94215a2
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions LabelGenerator.py
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ def __init__(


class StickerRect:
def __init__(self, c: Canvas, layout: PaperConfig, row: int, column: int, mirror: bool = True):
def __init__(self, c: Canvas, layout: PaperConfig, row: int, column: int, mirror: bool):
self.left = layout.left_margin + layout.horizontal_stride * column
self.bottom = layout.pagesize[1] - (
layout.sticker_height + layout.top_margin + layout.vertical_stride * row
Expand Down Expand Up @@ -470,8 +470,8 @@ def draw_resistor_sticker(
row: int,
column: int,
ohms: float,
draw_center_line: bool = True,
mirror: bool = False
draw_center_line: bool,
mirror: bool
) -> None:
with StickerRect(c, layout, row, column, mirror) as rect:

Expand Down

0 comments on commit 94215a2

Please sign in to comment.