Skip to content

Commit

Permalink
--delete should remove folder as well
Browse files Browse the repository at this point in the history
  • Loading branch information
ciur committed Feb 20, 2024
1 parent 647493b commit e649e20
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions papermerge_cli/lib/importer.py
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,8 @@ def upload_file_or_folder(
file_or_folder=Path(entry.path),
delete=delete
)
if delete:
remove(Path(entry.path))


def remove(path: Path):
Expand Down

0 comments on commit e649e20

Please sign in to comment.