Skip to content

Commit 61ea370

Browse files
committed
GUI: Exclude global_email.recipients from gui updates since it's a dict
1 parent 118f6fc commit 61ea370

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

npbackup/gui/common_gui_logic.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -783,7 +783,8 @@ def update_gui_values(
783783
return
784784

785785
# We need to discard sukeys from recipients in order to avoid searching for subkeys in GUI
786-
if key.startswith("global_email.recipients."):
786+
# Also, recipients key itself is handled in update_global_gui, so we can bypass it too here
787+
if key.startswith("global_email.recipients"):
787788
return
788789

789790
# Since FreeSimpleGUI does not allow to suppress the debugger anymore in v5.1.0, we need to handle KeyError

0 commit comments

Comments
 (0)