Fix THE AI HAS WON!<br />

This commit is contained in:
Rob Nelson
2013-11-04 23:29:23 -08:00
parent adad08e07e
commit 1438304e26
2 changed files with 3 additions and 3 deletions

View File

@@ -80,7 +80,7 @@ def Compile(serverState):
stdout,stderr = subprocess.Popen(COMPILE_COMMAND,shell=True, stdout=subprocess.PIPE).communicate()
failed=False
if stdout:
for line in stdout.split():
for line in stdout.split('\n'):
if 'error:' in line:
send_nudge('COMPILE ERROR: {0}'.format(line))
failed=True