aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlon Zakai <alonzakai@gmail.com>2013-03-03 08:02:58 -0800
committerAlon Zakai <alonzakai@gmail.com>2013-03-03 08:02:58 -0800
commit92ab0817911d330ed3b2a641c374180328e9bacf (patch)
treede2ef08ed0543511302f16e8d28bb79258bb7bd2
parentedb28adc2264aa3db34a406d91e369a8f2ba6eaf (diff)
fix error message
-rwxr-xr-xemscripten.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/emscripten.py b/emscripten.py
index 8bd1b58a..1fc5f190 100755
--- a/emscripten.py
+++ b/emscripten.py
@@ -243,7 +243,7 @@ def emscript(infile, settings, outfile, libraries=[]):
outputs = [output.split('//FORWARDED_DATA:') for output in outputs]
for output in outputs:
- assert len(output) == 2, 'Did not receive forwarded data in an output - process failed? We only got: ' + output[1]
+ assert len(output) == 2, 'Did not receive forwarded data in an output - process failed? We only got: ' + output[0]
if DEBUG: print >> sys.stderr, ' emscript: phase 2 took %s seconds' % (time.time() - t)
if DEBUG: t = time.time()