From 7e35eca56b2eb3bf933a2ebb70f69c27013acd92 Mon Sep 17 00:00:00 2001 From: iloveicedgreentea <31193909+iloveicedgreentea@users.noreply.github.com> Date: Sun, 14 May 2023 16:40:41 -0400 Subject: [PATCH] fix poweroff --- madvr/madvr.py | 2 +- setup.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/madvr/madvr.py b/madvr/madvr.py index cbddc7c..d17bd22 100644 --- a/madvr/madvr.py +++ b/madvr/madvr.py @@ -399,7 +399,7 @@ async def power_off(self, standby=False) -> str: # dont do anything if its off besides mark it off # sending command will open connection try: - res = await self.send_command("Standby" if standby else "PowerOff") + res = await self.send_command(["Standby"] if standby else ["PowerOff"]) await self.close_connection() self.is_on = False diff --git a/setup.py b/setup.py index 8f56ca0..48323ff 100644 --- a/setup.py +++ b/setup.py @@ -5,7 +5,7 @@ setuptools.setup( name="py_madvr", - version="1.4.0", + version="1.4.1", author="iloveicedgreentea", description="A package to control MadVR Envy over IP", long_description=long_description,