From 04b68a142808dc896162e28be55b98910c9d5bf3 Mon Sep 17 00:00:00 2001 From: erpalma Date: Tue, 14 Aug 2018 15:16:20 -0700 Subject: [PATCH] remove unused import --- lenovo_fix.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/lenovo_fix.py b/lenovo_fix.py index b05cf7f..981cc22 100755 --- a/lenovo_fix.py +++ b/lenovo_fix.py @@ -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):