For debug, cleanup cropped dir
This commit is contained in:
parent
48fc431162
commit
f5175918b6
1 changed files with 2 additions and 0 deletions
|
|
@ -40,6 +40,8 @@ def gather_cropped_cards() -> List[Path]:
|
||||||
|
|
||||||
def get_inputs_without_crop(all_inputs: List[Path], already_cropped: List[Path]) -> List[Path]:
|
def get_inputs_without_crop(all_inputs: List[Path], already_cropped: List[Path]) -> List[Path]:
|
||||||
# For debug, always crop
|
# For debug, always crop
|
||||||
|
for existing_crop in already_cropped:
|
||||||
|
existing_crop.unlink()
|
||||||
return all_inputs
|
return all_inputs
|
||||||
|
|
||||||
already_cropped_set = set(already_cropped)
|
already_cropped_set = set(already_cropped)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue