From 2142c2cca02113647594f5b80d280be6a5278d23 Mon Sep 17 00:00:00 2001 From: Olivier Gayot Date: Thu, 23 Dec 2021 14:23:30 +0100 Subject: Rename fd -> fh since it's a file handler, not descriptor Signed-off-by: Olivier Gayot --- monitor-menu.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'monitor-menu.py') diff --git a/monitor-menu.py b/monitor-menu.py index b7195fe..70adb69 100755 --- a/monitor-menu.py +++ b/monitor-menu.py @@ -22,8 +22,8 @@ d = dialog.Dialog() class MonitorMenu(): def __init__(self, config_file='~/.config/monitor-profiles.json'): - with open(expanduser(config_file)) as fd: - self.profiles = json.load(fd) + with open(expanduser(config_file)) as fh: + self.profiles = json.load(fh) def run(self, profile_idx=None): choices = [] -- cgit v1.2.3