Fixed PYW issue
This commit is contained in:
Voussoir 2014-12-01 17:09:13 -08:00
parent 2d141587aa
commit 2c6cfc9748
2 changed files with 4 additions and 1 deletions

View file

@ -112,7 +112,10 @@ def ascii(FILENAME, XVALUE, YVALUE, CONTRAST, TICKERFUNCTION):
for yline in range(charspany): for yline in range(charspany):
status = "%0.2f" % (yline / charspany) status = "%0.2f" % (yline / charspany)
TICKERFUNCTION(status) TICKERFUNCTION(status)
sys.stdout.flush() try:
sys.stdout.flush()
except:
pass
for xline in range(charspanx): for xline in range(charspanx):
xcoord = xline*XVALUE xcoord = xline*XVALUE
ycoord = yline*YVALUE ycoord = yline*YVALUE