Skip to content

Commit

Permalink
fix "whitespace before ':'"
Browse files Browse the repository at this point in the history
  • Loading branch information
BingoWon authored and Crozzers committed Oct 3, 2024
1 parent 7e08483 commit 6ec1f8b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion screen_brightness_control/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 6ec1f8b

Please sign in to comment.