Skip to content

Commit

Permalink
Merge pull request #114 from sfbrigade/news-output-bytes-on-stdout
Browse files Browse the repository at this point in the history
Output news results to STDOUT correctly
  • Loading branch information
elaguerta authored Aug 17, 2020
2 parents 96a0041 + 1e2b3d8 commit 80716db
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scraper_news.py
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ def main(counties: Tuple[str], from_: datetime, format: str, output: str) -> Non
with parent.joinpath(f'{county}{extension}').open('wb') as f:
f.write(data)
else:
print(data)
click.echo(data)


if __name__ == '__main__':
Expand Down

0 comments on commit 80716db

Please sign in to comment.