fix 自定义hosts

This commit is contained in:
thsrite 2023-08-05 20:08:06 +08:00
parent 0412eeafc9
commit ffd579715c

View File

@ -54,7 +54,7 @@ class CustomHosts(_PluginBase):
# 更新错误Hosts # 更新错误Hosts
self.update_config({ self.update_config({
"hosts": self._hosts, "hosts": ''.join(self._hosts),
"err_hosts": error_hosts, "err_hosts": error_hosts,
"enabled": self._enabled "enabled": self._enabled
}) })