Skip to content
Snippets Groups Projects
Commit 4419665d authored by Anael Beutot's avatar Anael Beutot Committed by Sébastien Luttringer
Browse files

Fix attachment command

parent c91cc53e
No related branches found
No related tags found
Loading
......@@ -43,7 +43,7 @@ class Command_attachment(TqlCommand):
objs = self.rpc.call("attachment", self.args[0], self.args[1])
for out in objs['objects']:
if out['status'] == 'success':
self.printer.pager(f_output)
self.printer.pager(out['output'])
else:
self.printer.warn('%s: %s' % (out['id'], out['message']))
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment