jarvisteach / appJar

Simple Tkinter GUIs in Python
http://appJar.info
Other
615 stars 68 forks source link

Problem report on official website #564

Closed marillindie closed 5 years ago

marillindie commented 5 years ago

Problem Report

This is actually not a bug report for appJar, but one for its official website (appjar.info)

Context

The problem is at http://appjar.info/pythonLoopsAndSleeps/#advanced-loops. You will find:

# global variable to store the count
counter = 10

def acceleratingCountdown():
    global counter
    if counter > 0:
        app.setLabel("counter", str(counter))
        counter -= 1
        app.after(100*counter, myLoop)

app.after(0, acceleratingCountdown)

However,

        app.after(100*counter, myLoop)

should be

        app.after(100*counter, acceleratingCountdown)

in my opinion.

jarvisteach commented 5 years ago

Definitely - good spot, will get that sorted ASAP.