This commit is contained in:
Your Name 2024-11-18 10:26:00 +01:00
parent 746f4bfda5
commit 91e9d3e4dd

View File

@ -7,7 +7,7 @@ class SainsmartRelay:
def _run_command(self, args): def _run_command(self, args):
try: try:
result = subprocess.run( result = subprocess.run(
["sudo", self.executable] + args, [self.executable] + args,
stdout=subprocess.PIPE, stdout=subprocess.PIPE,
stderr=subprocess.PIPE, stderr=subprocess.PIPE,
text=True, text=True,