diff options
author | Devaev Maxim <[email protected]> | 2020-09-10 04:48:19 +0300 |
---|---|---|
committer | Devaev Maxim <[email protected]> | 2020-09-10 04:48:19 +0300 |
commit | 31fdcd2f3c9284cf72d6b92d51b88273d50e8dc1 (patch) | |
tree | a91720c1d012a3fc71920622b60ea029686a18f4 /kvmd/plugins/atx/gpio.py | |
parent | 015baee6d719723672037b0ea738106fbd2c8198 (diff) |
removed processing flag
Diffstat (limited to 'kvmd/plugins/atx/gpio.py')
-rw-r--r-- | kvmd/plugins/atx/gpio.py | 16 |
1 files changed, 4 insertions, 12 deletions
diff --git a/kvmd/plugins/atx/gpio.py b/kvmd/plugins/atx/gpio.py index 9ae16338..df65e88e 100644 --- a/kvmd/plugins/atx/gpio.py +++ b/kvmd/plugins/atx/gpio.py @@ -130,29 +130,21 @@ class Plugin(BaseAtx): # pylint: disable=too-many-instance-attributes # ===== - async def power_on(self, wait: bool) -> bool: + async def power_on(self, wait: bool) -> None: if not (await self.__get_power()): await self.click_power(wait) - return True - return False - async def power_off(self, wait: bool) -> bool: + async def power_off(self, wait: bool) -> None: if (await self.__get_power()): await self.click_power(wait) - return True - return False - async def power_off_hard(self, wait: bool) -> bool: + async def power_off_hard(self, wait: bool) -> None: if (await self.__get_power()): await self.click_power_long(wait) - return True - return False - async def power_reset_hard(self, wait: bool) -> bool: + async def power_reset_hard(self, wait: bool) -> None: if (await self.__get_power()): await self.click_reset(wait) - return True - return False # ===== |