Commit 4419665d authored by Anael Beutot's avatar Anael Beutot Committed by Sébastien Luttringer
Browse files

Fix attachment command

parent c91cc53e
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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']))