Added a flush

This commit is contained in:
Morten Delenk 2016-07-31 12:01:06 +02:00
parent cce6bb0b56
commit 01a93657ea
No known key found for this signature in database
GPG key ID: 3F818D0F65DCB490
3 changed files with 3 additions and 0 deletions

View file

@ -15,4 +15,5 @@ for i in range(count):
print("<!DOCTYPE html>") print("<!DOCTYPE html>")
sys.stdout.buffer.write(html.renderSite().encode('utf8')) sys.stdout.buffer.write(html.renderSite().encode('utf8'))
sys.stdout.flush()
#print(html.renderSite()) #print(html.renderSite())

View file

@ -48,4 +48,5 @@ for i in range(count):
print("<!DOCTYPE html>") print("<!DOCTYPE html>")
sys.stdout.buffer.write(html.renderSite(True).encode('utf8')) sys.stdout.buffer.write(html.renderSite(True).encode('utf8'))
sys.stdout.flush()
#print(html.renderSite(True)) #print(html.renderSite(True))

View file

@ -15,4 +15,5 @@ for i in range(count):
print("<!DOCTYPE html>") print("<!DOCTYPE html>")
sys.stdout.buffer.write(html.renderSite().encode('utf8')) sys.stdout.buffer.write(html.renderSite().encode('utf8'))
sys.stdout.flush()
#print(html.renderSite()) #print(html.renderSite())