delayed-rm 3.1.0__tar.gz → 3.1.2__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: delayed_rm
3
- Version: 3.1.0
3
+ Version: 3.1.2
4
4
  Summary: Ever wish you had a few minutes to undo an rm? Now you do!
5
5
  License: GPLv3
6
6
  Project-URL: Homepage, https://github.com/zwimer/delayed_rm
@@ -13,7 +13,7 @@ import time
13
13
  import sys
14
14
 
15
15
  # Constants
16
- __version__ = "3.1.0"
16
+ __version__ = "3.1.2"
17
17
  _UNSAFE_FLAG = "unsafe-rmtree"
18
18
  log_f: Path = Path.home().resolve() / ".delayed_rm.log"
19
19
  tmp_d: Path = Path(gettempdir()).resolve() / ".delayed_rm"
@@ -236,7 +236,7 @@ def delayed_rm(paths: list[Path], delay: int, rf: bool, unsafe: bool = False) ->
236
236
  env={_Secret.key: _Secret.value},
237
237
  stdout=subprocess.DEVNULL,
238
238
  stderr=subprocess.DEVNULL,
239
- cwd=Path.cwd().root,
239
+ cwd=base.root,
240
240
  )
241
241
  return not failed and not ctrlc
242
242
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: delayed_rm
3
- Version: 3.1.0
3
+ Version: 3.1.2
4
4
  Summary: Ever wish you had a few minutes to undo an rm? Now you do!
5
5
  License: GPLv3
6
6
  Project-URL: Homepage, https://github.com/zwimer/delayed_rm
File without changes
File without changes
File without changes
File without changes