#31 and lots of other changes

This commit is contained in:
2022-10-01 13:10:42 -05:00
parent 3556382e62
commit 8c32f32c85
3 changed files with 7 additions and 30 deletions

View File

@@ -45,7 +45,8 @@ def tor_delete(self):
if self.use_log:
self.tl.debug('Hash list submitted for deletion:')
self.tl.debug(self.torrent_hash_delete_list)
self.qbt_client.torrents_delete(True, self.torrent_hash_delete_list)
if self.torrent_hash_delete_list:
self.qbt_client.torrents_delete(True, self.torrent_hash_delete_list)
def is_downloading(state):
if state == 'downloading':