diff options
Diffstat (limited to 'oldbot.py')
-rw-r--r-- | oldbot.py | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -23,7 +23,7 @@ class BotWrapper(object): proc.stdin.close() proc.wait() - if proc.returncode == 0: - output = proc.stdout.read() + assert proc.returncode == 0, 'Snake died.' + output = proc.stdout.read() return output.strip() |