Skip to content

Commit

Permalink
Big bug fix
Browse files Browse the repository at this point in the history
  • Loading branch information
zwimer committed Mar 10, 2024
1 parent 8e40845 commit dfbf55c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion delayed_rm/delayed_rm.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
import os


__version__ = "2.8.0"
__version__ = "2.8.1"


#
Expand Down Expand Up @@ -143,6 +143,7 @@ def delayed_rm(paths: list[Path], delay: int, rf: bool) -> bool:
new: Path = outd / p.name
try:
p.rename(new)
edited = True
except OSError:
copyf = lambda src, dst: shutil.copy2(src, dst, follow_symlinks=False)
if p.is_dir():
Expand Down

0 comments on commit dfbf55c

Please sign in to comment.