mirror of
https://github.com/jxxghp/MoviePilot.git
synced 2026-05-06 20:42:43 +08:00
fix TR模块报错找不到_protocol属性
v2.5.9引入的bug
This commit is contained in:
@@ -25,7 +25,7 @@ class Transmission:
|
||||
若不设置参数,则创建配置文件设置的下载器
|
||||
"""
|
||||
if host and port:
|
||||
self._protocol, self._host, self._port = kwargs.get("protocol", self._protocol), host, port
|
||||
self._protocol, self._host, self._port = kwargs.get("protocol", "http"), host, port
|
||||
elif host:
|
||||
result = UrlUtils.parse_url_params(url=host)
|
||||
if result:
|
||||
|
||||
Reference in New Issue
Block a user