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

Fix attachment command

parent 71b62bef
No related branches found
No related tags found
No related merge requests found
......@@ -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