From 2cfd2f19b1bc0cf96c290b1bcb612837992bb0d8 Mon Sep 17 00:00:00 2001 From: PySimpleGUI Date: Tue, 19 Nov 2019 11:25:27 -0500 Subject: [PATCH] Update with PEP8 read call. --- PySimpleGUIQt/Demo Programs/Qt_Demo_imwatchingyou.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/PySimpleGUIQt/Demo Programs/Qt_Demo_imwatchingyou.py b/PySimpleGUIQt/Demo Programs/Qt_Demo_imwatchingyou.py index 9f64ce21..ec1ccbd7 100644 --- a/PySimpleGUIQt/Demo Programs/Qt_Demo_imwatchingyou.py +++ b/PySimpleGUIQt/Demo Programs/Qt_Demo_imwatchingyou.py @@ -6,13 +6,13 @@ import imwatchingyou This enables you to have a live debugger / REPL in a running PySimpleGUIQt program """ layout = [[sg.Text('My PySimpleGUIQt layout')], - [sg.Button('OK'), sg.Button('Debugger'), sg.B('Popout')]] + [sg.B('OK'), sg.B('Debugger'), sg.B('Popout')]] window = sg.Window('My window', layout) counter = 0 # something to see updating in the popout window while True: - event, values = window.Read(timeout=100) + event, values = window.read(timeout=100) if event is None: break if event == 'Debugger':