X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/f6bcfd974ef26faf6f91a62cac09827e09463fd1..b9ac87bc5cbe46227195e32c44e25831f8206e3c:/wxPython/demo/wxProgressDialog.py diff --git a/wxPython/demo/wxProgressDialog.py b/wxPython/demo/wxProgressDialog.py index 61caba204e..09f6c08b56 100644 --- a/wxPython/demo/wxProgressDialog.py +++ b/wxPython/demo/wxProgressDialog.py @@ -11,9 +11,9 @@ def runTest(frame, nb, log): frame, wxPD_CAN_ABORT | wxPD_APP_MODAL) - keepGoing = true + keepGoing = True count = 0 - while keepGoing and count <= max: + while keepGoing and count < max: count = count + 1 wxSleep(1)