1
0
Fork 0

powertop2tuned: fixed work with localized powertop

This commit is contained in:
Jaroslav Škarvada 2012-10-10 23:12:25 +02:00
parent 6f6e366488
commit be98ede2b7

View file

@ -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