mirror of
https://github.com/StuffAnThings/qbit_manage.git
synced 2024-11-10 09:32:29 +08:00
Fixes #479
This commit is contained in:
parent
dc2c67d368
commit
c041e3a45f
2 changed files with 3 additions and 2 deletions
2
VERSION
2
VERSION
|
@ -1 +1 @@
|
|||
4.0.9-develop2
|
||||
4.0.9-develop3
|
||||
|
|
|
@ -688,7 +688,8 @@ class Config:
|
|||
if num_del > 0:
|
||||
if not self.dry_run:
|
||||
for path in location_path_list:
|
||||
util.remove_empty_directories(path, "**/*")
|
||||
if path != location_path:
|
||||
util.remove_empty_directories(path, "**/*")
|
||||
body += logger.print_line(
|
||||
f"{'Did not delete' if self.dry_run else 'Deleted'} {num_del} files "
|
||||
f"({util.human_readable_size(size_bytes)}) from the {location}.",
|
||||
|
|
Loading…
Reference in a new issue