Skip to content

Commit

Permalink
fix "line too long"
Browse files Browse the repository at this point in the history
  • Loading branch information
BingoWon committed Oct 1, 2024
1 parent 8b713d9 commit 1ba433b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion screen_brightness_control/windows.py
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,7 @@ def get_display_info() -> List[dict]:
'manufacturer': manufacturer,
'manufacturer_id': man_id,
'edid': edid,
'connection_uid': uid_match.group(1) if (uid_match := re.search(r"UID(\d+)", instance_name)) else None,
'connection_uid': match.group(1) if (match := re.search(r"UID(\d+)", instance_name)) else None,
}
if monitor.InstanceName in laptop_displays:
data['index'] = laptop
Expand Down

0 comments on commit 1ba433b

Please sign in to comment.