mirror of
https://github.com/StuffAnThings/qbit_manage.git
synced 2025-10-24 12:46:52 +08:00
commit
c1dcbdade1
1 changed files with 2 additions and 2 deletions
|
|
@ -599,7 +599,7 @@ class Qbt:
|
||||||
for parent_path in orphaned_parent_path:
|
for parent_path in orphaned_parent_path:
|
||||||
util.remove_empty_directories(parent_path,"**/*")
|
util.remove_empty_directories(parent_path,"**/*")
|
||||||
else:
|
else:
|
||||||
print_line(f"No Orphaned Filed found.",loglevel)
|
print_line(f"No Orphaned Files found.",loglevel)
|
||||||
return orphaned
|
return orphaned
|
||||||
|
|
||||||
|
|
||||||
|
|
@ -633,4 +633,4 @@ class Qbt:
|
||||||
#Remove any empty directories
|
#Remove any empty directories
|
||||||
util.remove_empty_directories(torrent.save_path.replace(self.config.root_dir,self.config.remote_dir),"**/*")
|
util.remove_empty_directories(torrent.save_path.replace(self.config.root_dir,self.config.remote_dir),"**/*")
|
||||||
else:
|
else:
|
||||||
torrent.delete(hash=torrent.hash, delete_files=True)
|
torrent.delete(hash=torrent.hash, delete_files=True)
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue