update
This commit is contained in:
parent
746f4bfda5
commit
5485e0650d
@ -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,
|
||||||
|
Loading…
Reference in New Issue
Block a user