mirror of
https://github.com/jxxghp/MoviePilot.git
synced 2026-11-29 07:25:19 +08:00
fix(types): preserve nullable qBittorrent deletion flag
This commit is contained in:
@@ -572,7 +572,7 @@ class Qbittorrent:
|
||||
logger.error(f"暂停种子出错:{str(err)}")
|
||||
return False
|
||||
|
||||
def delete_torrents(self, delete_file: bool, ids: Union[str, list[str]]) -> bool:
|
||||
def delete_torrents(self, delete_file: Optional[bool], ids: Union[str, list[str]]) -> bool:
|
||||
"""
|
||||
删除种子
|
||||
"""
|
||||
|
||||
Reference in New Issue
Block a user