mirror of
https://github.com/d0zingcat/MoviePilot-Plugins.git
synced 2026-05-31 23:16:54 +00:00
fix bug
This commit is contained in:
@@ -46,7 +46,7 @@ class BarkMsg(_PluginBase):
|
||||
self._params = config.get("params")
|
||||
|
||||
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