From c0b132fd0525a0fdc77f51cb31d955d0cfcc44f2 Mon Sep 17 00:00:00 2001 From: Anael Beutot Date: Wed, 28 Nov 2012 15:27:40 +0100 Subject: [PATCH] Fix attachment command --- cccli/commands/attachment.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cccli/commands/attachment.py b/cccli/commands/attachment.py index a169e0e..23db245 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'])) -- GitLab