Skip to content

Commit c6e3c08

Browse files
Merge pull request #82 from BTrDB/ch9333-newline-issue
ch9333 set newline char
2 parents 637fe0b + d492c27 commit c6e3c08

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.github/workflows/release.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ jobs:
1515
strategy:
1616
matrix:
1717
python-version: [3.6, 3.7, 3.8]
18-
os: [ubuntu-latest, macos-latest]
18+
os: [ubuntu-latest, macos-latest, windows-latest]
1919

2020
steps:
2121
- uses: actions/checkout@v2

btrdb/transformers.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -267,7 +267,7 @@ def to_csv(streamset, fobj, dialect=None, fieldnames=None, agg="mean", name_call
267267
@contextlib.contextmanager
268268
def open_path_or_file(path_or_file):
269269
if isinstance(path_or_file, str):
270-
f = file_to_close = open(path_or_file, 'w')
270+
f = file_to_close = open(path_or_file, 'w', newline='')
271271
else:
272272
f = path_or_file
273273
file_to_close = None

0 commit comments

Comments
 (0)