Pty layouts skipped in keyboard layout cycling.

This commit is contained in:
Storm Dragon 2025-06-04 22:14:49 -04:00
parent 8c471adfa4
commit 6f4784daed

View File

@ -33,7 +33,7 @@ class command():
if os.path.exists(keyboardPath):
for file in os.listdir(keyboardPath):
if file.endswith('.conf') and not file.startswith('__'):
if file.endswith('.conf') and not file.startswith('__') and not file.lower().startswith('pty'):
layout_name = file.replace('.conf', '')
if layout_name not in layouts:
layouts.append(layout_name)