This commit is contained in:
jxxghp
2023-11-05 21:17:29 +08:00
parent 51b4da1c78
commit 76f82a15c3
3 changed files with 3 additions and 3 deletions

View File

@@ -44,7 +44,7 @@ class PushDeerMsg(_PluginBase):
self._apikey = config.get("apikey")
def get_state(self) -> bool:
return self._enabled and self._server and self._apikey
return self._enabled and (True if self._server and self._apikey else False)
@staticmethod
def get_command() -> List[Dict[str, Any]]: