diff --git a/cccli/commands/attachment.py b/cccli/commands/attachment.py index a169e0e2e625113e680e18a3111a4c3a0440a679..23db245fa559911e641a6172edfb8a798ff462ca 100644 --- a/cccli/commands/attachment.py +++ b/cccli/commands/attachment.py @@ -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']))