Frontend created and rewritten a few times, with some backend fixes #1

Merged
leo merged 110 commits from plaintable into main 2023-11-08 20:38:40 +00:00
Showing only changes of commit 32b8e0702c - Show all commits

View File

@ -44,7 +44,10 @@ class Rm(ControlBase):
root = config.config.path root = config.config.path
sel = [root / filename.sanitize(p) for p in self.sel] sel = [root / filename.sanitize(p) for p in self.sel]
for p in sel: for p in sel:
if p.is_dir():
shutil.rmtree(p, ignore_errors=True) shutil.rmtree(p, ignore_errors=True)
else:
p.unlink()
class Mv(ControlBase): class Mv(ControlBase):