Skip to content

Commit

Permalink
Replace a default string value with None.
Browse files Browse the repository at this point in the history
The previous version was redundant.
  • Loading branch information
yuvallanger authored Feb 17, 2018
1 parent e62822a commit 6787680
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion odo/backends/csv.py
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ def open_file(path, *args, **kwargs):
f.close()


def infer_header(path, nbytes=10000, encoding='utf-8', **kwargs):
def infer_header(path, nbytes=10000, encoding=None, **kwargs):
if encoding is None:
encoding = 'utf-8'
with open_file(path, 'rb') as f:
Expand Down

0 comments on commit 6787680

Please sign in to comment.