diff options
Diffstat (limited to 'plac/plac_ext.py')
-rw-r--r-- | plac/plac_ext.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/plac/plac_ext.py b/plac/plac_ext.py index 4429aec..b436d06 100644 --- a/plac/plac_ext.py +++ b/plac/plac_ext.py @@ -1000,7 +1000,9 @@ class Interpreter(object): task = i.send(i.obj._args_) # synchronous if task.exc: raise task.etype, task.exc, task.tb - print(task) + out = str(task) + if out: + print(out) elif i.obj._interact_: i.interact(stdin, prompt, verbose) else: |