Skip to content

Commit

Permalink
cli: open output file for writing as plain text
Browse files Browse the repository at this point in the history
  • Loading branch information
perrygeo committed Jul 31, 2015
1 parent 5b5ba05 commit 03517c9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/rasterstats/cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@

@click.command(context_settings=SETTINGS)
@click.argument('input-geojson', type=click.File('rb'), default='-')
@click.argument('output-geojson', type=click.File('wb'), default='-')
@click.argument('output-geojson', type=click.File('w'), default='-')
@click.version_option(version=version, message='%(version)s')
@click.option('--raster', '-r', required=True, type=click.Path(exists=True))
@click.option('--all-touched/--no-all-touched', default=False)
Expand Down

0 comments on commit 03517c9

Please sign in to comment.