diff --git a/sainsmartrelay.py b/sainsmartrelay.py index c021110..2a930d8 100644 --- a/sainsmartrelay.py +++ b/sainsmartrelay.py @@ -7,7 +7,7 @@ class SainsmartRelay: def _run_command(self, args): try: result = subprocess.run( - ["sudo", self.executable] + args, + [self.executable] + args, stdout=subprocess.PIPE, stderr=subprocess.PIPE, text=True,