|
@@ -174,7 +174,7 @@ def suspend(self, mode: str) -> None:
|
|
# On error exception will raise
|
|
# On error exception will raise
|
|
except asyncio.TimeoutError:
|
|
except asyncio.TimeoutError:
|
|
# On success command will timed out
|
|
# On success command will timed out
|
|
- return
|
|
|
|
|
|
+ pass
|
|
|
|
|
|
def shutdown(self, mode: str = 'powerdown') -> None:
|
|
def shutdown(self, mode: str = 'powerdown') -> None:
|
|
if mode not in ['powerdown', 'halt', 'reboot']:
|
|
if mode not in ['powerdown', 'halt', 'reboot']:
|