diff --git a/pyalapin/interface/color_edition.py b/pyalapin/interface/color_edition.py index 8172e82..b6dd1f8 100644 --- a/pyalapin/interface/color_edition.py +++ b/pyalapin/interface/color_edition.py @@ -16,7 +16,6 @@ def __init__( black_piece_fill, black_piece_border, ): - self.white_cell = white_cell self.down_white_cell = down_white_cell self.black_cell = black_cell diff --git a/pyalapin/interface/colorize.py b/pyalapin/interface/colorize.py index 848a83a..90f0e52 100644 --- a/pyalapin/interface/colorize.py +++ b/pyalapin/interface/colorize.py @@ -38,7 +38,6 @@ def color_one_img(pil_img, background_color, border_color, inner_color): if __name__ == "__main__": - parser = argparse.ArgumentParser() parser.add_argument("-ccb", "--color_cell_black", nargs="+") parser.add_argument("-ccw", "--color_cell_white", nargs="+")