mirror of
https://github.com/d0zingcat/MoviePilot-Plugins.git
synced 2026-06-01 07:26:46 +00:00
fix bug
This commit is contained in:
@@ -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]]:
|
||||
|
||||
Reference in New Issue
Block a user