diff options
Diffstat (limited to 'monitor-menu.py')
-rwxr-xr-x | monitor-menu.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/monitor-menu.py b/monitor-menu.py index 70adb69..6e07155 100755 --- a/monitor-menu.py +++ b/monitor-menu.py @@ -36,7 +36,7 @@ class MonitorMenu(): code, profile_idx = d.menu('Select the profile you want to use.', choices=choices) - if code == d.ESC or code == d.CANCEL: + if code in (d.ESC, d.CANCEL): return profile = self.profiles[int(profile_idx)] |