We now have a server that works... some of the time.

There still seem to be some weird timing and/or closing-related bugs, since
I can't load the eqldata project correctly unless I use --noserver.
This commit is contained in:
Avery Pennarun
2010-05-02 00:52:06 -04:00
parent d435c41bdb
commit 915a96b0ec
5 changed files with 146 additions and 38 deletions

View File

@ -1,6 +1,8 @@
import sys, os
logprefix = ''
def log(s):
sys.stdout.flush()
sys.stderr.write(s)
sys.stderr.write(logprefix + s)
sys.stderr.flush()