mirror of
https://github.com/erpalma/throttled.git
synced 2026-01-27 02:44:21 +01:00
remove unused import
This commit is contained in:
parent
0dcf7c1cdb
commit
04b68a1428
|
|
@ -3,7 +3,6 @@
|
|||
import argparse
|
||||
import configparser
|
||||
import dbus
|
||||
import glob
|
||||
import os
|
||||
import psutil
|
||||
import struct
|
||||
|
|
@ -208,7 +207,7 @@ def set_hwp(pref):
|
|||
f.write(pref.encode())
|
||||
if args.debug:
|
||||
with open(c) as f:
|
||||
print('[D] HWP for cpu{:d} - write {:s} - read {:s}'.format(i, pref, f.read()))
|
||||
print('[D] HWP for cpu{:d} - write "{:s}" - read "{:s}"'.format(i, pref, f.read().strip()))
|
||||
|
||||
|
||||
def power_thread(config, regs, exit_event):
|
||||
|
|
|
|||
Loading…
Reference in a new issue