summaryrefslogtreecommitdiff
path: root/monitor-menu.py
diff options
context:
space:
mode:
Diffstat (limited to 'monitor-menu.py')
-rwxr-xr-xmonitor-menu.py4
1 files changed, 2 insertions, 2 deletions
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 = []