This commit is contained in:
jxxghp
2025-08-10 09:11:44 +08:00
parent e97c246741
commit 51b8f7c713
2 changed files with 2 additions and 0 deletions

View File

@@ -23,6 +23,7 @@ class Qbittorrent:
"""
若不设置参数,则创建配置文件设置的下载器
"""
self.qbc = None
if host and port:
self._host, self._port = host, port
elif host:

View File

@@ -24,6 +24,7 @@ class Transmission:
"""
若不设置参数,则创建配置文件设置的下载器
"""
self.trc = None
if host and port:
self._protocol, self._host, self._port = kwargs.get("protocol", "http"), host, port
elif host: