bullsignals / binance-downloader

Python tool to download Binance Candlestick (k-line) data from REST API
MIT License
49 stars 18 forks source link

db.py the csv writerows() puts EXTRA newline after each row #12

Closed einewton closed 6 years ago

einewton commented 6 years ago

This may be a windows only issue, but to resolve this change line 19 in db.py:

FROM: with open(output, 'a') as f:

TO: with open(output, 'a', newline='') as f:

samuelhei commented 6 years ago

Closed on https://github.com/bullsignals/binance-downloader/pull/16