Browse files

* needs file name instead of handler

  • Loading branch information...
1 parent 13367b4 commit 0d4ebda36d107120b71eb396a70fadb91ebaab8c @whym committed Mar 14, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 utils/
@@ -33,7 +33,7 @@ def chart(entries, output, legends, meta):
dest='output', type=argparse.FileType('w'), default=sys.stdout,
help='name of the result csv to be written')
parser.add_argument('-c', '--chart', metavar='FILE',
- dest='chart', type=lambda x: open(x, 'w'), default=None,
+ dest='chart', type=str, default=None,
help='name of the result chart to be written')
parser.add_argument('-v', '--verbose',
dest='verbose', action='store_true', default=False,

0 comments on commit 0d4ebda

Please sign in to comment.