This commit is contained in:
bobokun 2023-04-09 15:37:23 -04:00
parent f1655b2552
commit 7b8aa3b015
No known key found for this signature in database
GPG key ID: B73932169607D927
2 changed files with 8 additions and 13 deletions

View file

@ -1,15 +1,5 @@
# Requirements Updated
- Adds check for minimum python requirement of 3.8.1+ (Fixes #221)
- Updates qbitorrent api to 2023.3.44
# New Features
- Adds support for custom noHL tag (closes #210)
# Bug Fixes
- Fix wrapped JSON Decod error from requests (#245) - Thanks @USA-RedDragon
- Code Refactor / lint - Thanks @bakerboy448
- Adds docstrings - Thanks @bakerboy448
- Fixes #229 - Thanks @bakerboy448
- Fixes #218 - Thanks @bakerboy448
- Fixes #255
- Fixes #260
**Full Changelog**: https://github.com/StuffAnThings/qbit_manage/compare/v3.4.4...v3.5.0
**Full Changelog**: https://github.com/StuffAnThings/qbit_manage/compare/v3.5.0...v3.5.1

View file

@ -1349,3 +1349,8 @@ class Qbt:
torrent.delete(delete_files=True)
else:
torrent.delete(delete_files=False)
try:
if torrent in self.torrent_list:
self.torrent_list.remove(torrent)
except ValueError:
logger.debug(f"Torrent {torrent.name} has already been deleted from torrent list.")