From d42a0ccfc4e723e0f0033c41043010f4bd43eb56 Mon Sep 17 00:00:00 2001 From: PySimpleGUI Date: Sat, 30 Jan 2021 14:34:42 -0500 Subject: [PATCH] Fixed syntax error --- docs/cookbook.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/cookbook.md b/docs/cookbook.md index 5dbc4889..b2036ffc 100644 --- a/docs/cookbook.md +++ b/docs/cookbook.md @@ -2976,7 +2976,7 @@ while True: ev1, vals1 = win1.Read(timeout=100) if ev1 == sg.WIN_CLOSED: break - win1.['_OUTPUT_'].update(vals1[0]) + win1['_OUTPUT_'].update(vals1[0]) if ev1 == 'Launch 2' and not win2_active: win2_active = True