chore: remove unused var

Signed-off-by: bullshit <coding@ow-software.pl>
This commit is contained in:
bullshit committed 2025-08-07 08:49:38 +02:00
1 parent 483e735e11
commit 997078b53d
1 file changed
-1
-1
View File
@@ -121,7 +121,6 @@ def update_scan_usb_vendors(scan_usb_path, vendors):
vendor_pattern = "|".join(vendor_ids) vendor_pattern = "|".join(vendor_ids)
# Find and replace the UPS devices grep line # Find and replace the UPS devices grep line
old_pattern = r'lsusb \| grep -iE "\([^"]*\)"'
new_line = f'lsusb | grep -iE "({vendor_pattern})"' new_line = f'lsusb | grep -iE "({vendor_pattern})"'
# Replace the grep line in the UPS devices section # Replace the grep line in the UPS devices section