Skip to content

Commit 6787680

Browse files
authored
Replace a default string value with None.
The previous version was redundant.
1 parent e62822a commit 6787680

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

odo/backends/csv.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ def open_file(path, *args, **kwargs):
103103
f.close()
104104

105105

106-
def infer_header(path, nbytes=10000, encoding='utf-8', **kwargs):
106+
def infer_header(path, nbytes=10000, encoding=None, **kwargs):
107107
if encoding is None:
108108
encoding = 'utf-8'
109109
with open_file(path, 'rb') as f:

0 commit comments

Comments
 (0)