From 1ba433b4d74b774037579db3fc8351c1316bb8fd Mon Sep 17 00:00:00 2001 From: BingoWon Date: Wed, 2 Oct 2024 02:43:40 +0800 Subject: [PATCH] fix "line too long" --- screen_brightness_control/windows.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/screen_brightness_control/windows.py b/screen_brightness_control/windows.py index 3b03158..3c5e10b 100644 --- a/screen_brightness_control/windows.py +++ b/screen_brightness_control/windows.py @@ -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