diff options
Diffstat (limited to 'isort/isort.py')
-rw-r--r-- | isort/isort.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/isort/isort.py b/isort/isort.py index 10ab30ef..dc5cc7a6 100644 --- a/isort/isort.py +++ b/isort/isort.py @@ -111,7 +111,7 @@ class SortImports(object): encoding_success = False if not encoding_success: - with io.open(file_path, new_line='') as file_to_import_sort: + with io.open(file_path, newline='') as file_to_import_sort: try: file_contents = file_to_import_sort.read() self.file_path = file_path |