powertop2tuned: fixed work with localized powertop
This commit is contained in:
parent
6f6e366488
commit
be98ede2b7
1 changed files with 1 additions and 1 deletions
|
|
@ -175,7 +175,7 @@ class PowertopProfile:
|
|||
return True
|
||||
|
||||
def generateHTML(self):
|
||||
proc = Popen(["powertop", "--html=/tmp/powertop"], stdout=PIPE, stderr=PIPE)
|
||||
proc = Popen("LANG= powertop --html=/tmp/powertop", stdout=PIPE, stderr=PIPE, shell=True)
|
||||
output = proc.communicate()[1]
|
||||
if proc.returncode != 0:
|
||||
return ret
|
||||
|
|
|
|||
Loading…
Reference in a new issue