fix plugin state

This commit is contained in:
jxxghp
2023-08-03 17:58:00 +08:00
parent 51016d636b
commit 79a57b0576
12 changed files with 51 additions and 11 deletions

View File

@ -60,6 +60,9 @@ class CustomHosts(_PluginBase):
"enable": self._enabled
})
def get_state(self) -> bool:
return self._enabled
@staticmethod
def get_command() -> List[Dict[str, Any]]:
pass