mirror of
https://github.com/jxxghp/MoviePilot.git
synced 2026-05-07 05:02:40 +08:00
fix #4721
This commit is contained in:
@@ -23,6 +23,7 @@ class Qbittorrent:
|
||||
"""
|
||||
若不设置参数,则创建配置文件设置的下载器
|
||||
"""
|
||||
self.qbc = None
|
||||
if host and port:
|
||||
self._host, self._port = host, port
|
||||
elif host:
|
||||
|
||||
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user