diff --git a/screen_brightness_control/__init__.py b/screen_brightness_control/__init__.py index d811c55..628783f 100644 --- a/screen_brightness_control/__init__.py +++ b/screen_brightness_control/__init__.py @@ -631,7 +631,7 @@ def filter_monitor_list(to_filter): elif isinstance(display, int): # 'display' variable should be the index of the monitor # return a list with the monitor at the index or an empty list if the index is out of range - return to_filter[display : display + 1] + return to_filter[display:display + 1] elif isinstance(display, str): # 'display' variable should be an identifier of the monitor # multiple monitors with the same identifier are allowed here, so return all of them