fixed some bugs on linux with pipes

This commit is contained in:
UpstreamData
2022-03-18 12:02:42 -06:00
parent 134b5fe0ff
commit 4038dae446
3 changed files with 3 additions and 3 deletions

View File

@@ -137,7 +137,7 @@ If you are sure you want to use this command please use API.send_command("{item}
return data
@staticmethod
def validate_command_output(data: dict) -> tuple[bool, str | None]:
def validate_command_output(data: dict) -> tuple:
"""Check if the returned command output is correctly formatted."""
# check if the data returned is correct or an error
# if status isn't a key, it is a multicommand