mirror of
https://github.com/StuffAnThings/qbit_manage.git
synced 2025-11-10 00:10:46 +08:00
additional checks for cleanup set to true
This commit is contained in:
parent
5e4435d251
commit
41fb6105c3
1 changed files with 11 additions and 10 deletions
|
|
@ -536,6 +536,7 @@ def tag_nohardlinks():
|
|||
|
||||
|
||||
#loop through torrent list again for cleanup purposes
|
||||
if ('cleanup' in nohardlinks['Movie'] and nohardlinks['Movie']['cleanup']):
|
||||
for torrent in torrent_list:
|
||||
if torrent.name in tdel_dict.keys() and 'noHL' in torrent.tags:
|
||||
#Double check that the content path is the same before we delete anything
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue