mirror of
https://github.com/jxxghp/MoviePilot.git
synced 2026-09-05 23:47:41 +08:00
fix #4721
This commit is contained in:
@@ -23,6 +23,7 @@ class Qbittorrent:
|
|||||||
"""
|
"""
|
||||||
若不设置参数,则创建配置文件设置的下载器
|
若不设置参数,则创建配置文件设置的下载器
|
||||||
"""
|
"""
|
||||||
|
self.qbc = None
|
||||||
if host and port:
|
if host and port:
|
||||||
self._host, self._port = host, port
|
self._host, self._port = host, port
|
||||||
elif host:
|
elif host:
|
||||||
|
|||||||
@@ -24,6 +24,7 @@ class Transmission:
|
|||||||
"""
|
"""
|
||||||
若不设置参数,则创建配置文件设置的下载器
|
若不设置参数,则创建配置文件设置的下载器
|
||||||
"""
|
"""
|
||||||
|
self.trc = None
|
||||||
if host and port:
|
if host and port:
|
||||||
self._protocol, self._host, self._port = kwargs.get("protocol", "http"), host, port
|
self._protocol, self._host, self._port = kwargs.get("protocol", "http"), host, port
|
||||||
elif host:
|
elif host:
|
||||||
|
|||||||
Reference in New Issue
Block a user