Skip to content

Commit

Permalink
fix poweroff
Browse files Browse the repository at this point in the history
  • Loading branch information
iloveicedgreentea committed May 14, 2023
1 parent 320d664 commit 7e35eca
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion madvr/madvr.py
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 7e35eca

Please sign in to comment.