Loading karaokatalog/deduplicate/instructions/DeleteInstruction.py +3 −0 Changes for karaokatalog/deduplicate/instructions/DeleteInstruction.py: 3 added lines, 0 removed lines. Original line number Diff line number Diff line Loading @@ -13,4 +13,7 @@ class DeleteInstruction(Instruction): path_to_delete: Path def __call__(self) -> None: try: self.path_to_delete.unlink() except IsADirectoryError: self.path_to_delete.rmdir() Loading
karaokatalog/deduplicate/instructions/DeleteInstruction.py +3 −0 Changes for karaokatalog/deduplicate/instructions/DeleteInstruction.py: 3 added lines, 0 removed lines. Original line number Diff line number Diff line Loading @@ -13,4 +13,7 @@ class DeleteInstruction(Instruction): path_to_delete: Path def __call__(self) -> None: try: self.path_to_delete.unlink() except IsADirectoryError: self.path_to_delete.rmdir()