diff --git a/ascii/ascii.py b/ascii/ascii.py index f5f3121..2fc8ae1 100644 --- a/ascii/ascii.py +++ b/ascii/ascii.py @@ -112,7 +112,10 @@ def ascii(FILENAME, XVALUE, YVALUE, CONTRAST, TICKERFUNCTION): for yline in range(charspany): status = "%0.2f" % (yline / charspany) TICKERFUNCTION(status) - sys.stdout.flush() + try: + sys.stdout.flush() + except: + pass for xline in range(charspanx): xcoord = xline*XVALUE ycoord = yline*YVALUE diff --git a/ascii/ascii_gui.py b/ascii/ascii_gui.pyw similarity index 100% rename from ascii/ascii_gui.py rename to ascii/ascii_gui.pyw