Skip to content

Commit 34f8d40

Browse files
abrignoniclaude
andcommitted
fix: drop unnecessary lambdas on the keychain buttons
The callbacks take no arguments, so the lambdas were redundant. Caught by the diff-aware lint job, which flagged only these two new warnings and ignored the 25 pre-existing ones in the same files. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
1 parent 022ca0b commit 34f8d40

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

‎ileappGUI.py‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -911,9 +911,9 @@ def close_case_window():
911911
keychain_frame.pack(padx=14, pady=2, fill='x')
912912
keychain_entry = ttk.Entry(keychain_frame)
913913
keychain_entry.pack(side='left', padx=5, pady=4, fill='x', expand=True)
914-
keychain_clear_button = ttk.Button(keychain_frame, text='Clear', width=6, command=lambda: clear_keychain())
914+
keychain_clear_button = ttk.Button(keychain_frame, text='Clear', width=6, command=clear_keychain)
915915
keychain_clear_button.pack(side='left', padx=2, pady=4)
916-
keychain_file_button = ttk.Button(keychain_frame, text='Browse File', command=lambda: select_keychain())
916+
keychain_file_button = ttk.Button(keychain_frame, text='Browse File', command=select_keychain)
917917
keychain_file_button.pack(side='left', padx=5, pady=4)
918918

919919
output_frame = ttk.LabelFrame(main_window, text=' Select Output Path ')

0 commit comments

Comments
 (0)