Skip to content

Commit 1c810b5

Browse files
author
patched.codes[bot]
committed
Patched patchwork/common/utils/utils.py
1 parent 81e23d8 commit 1c810b5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

patchwork/common/utils/utils.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ def defered_temp_file(
7676
return tempfile_fp
7777

7878

79-
def open_with_chardet(file, mode="r", buffering=-1, errors=None, newline=None, closefd=True, opener=None):
79+
def open_with_chardet(file, mode="r", buffering=-1, errors=None, newline="", closefd=True, opener=None):
8080
detector = UniversalDetector()
8181
with open(
8282
file=file, mode="rb", buffering=buffering, errors=errors, newline=newline, closefd=closefd, opener=opener

0 commit comments

Comments
 (0)