From 2403ccfe80445e31d0d9d4f3d6f850dcce8fc8ed Mon Sep 17 00:00:00 2001 From: Timothy Edmund Crosley Date: Fri, 8 Mar 2019 00:54:21 -0800 Subject: Update isort.py --- isort/isort.py | 1 - 1 file changed, 1 deletion(-) diff --git a/isort/isort.py b/isort/isort.py index 8cd0d0af..9fd4b639 100644 --- a/isort/isort.py +++ b/isort/isort.py @@ -109,7 +109,6 @@ class SortImports(object): " or matches a glob in 'skip_glob' setting".format(file_path)) file_contents = None if not self.skipped and not file_contents: - elif not file_contents: with io.open(file_path, 'rb') as f: file_encoding = coding_check(f) with io.open(file_path, encoding=file_encoding, newline='') as file_to_import_sort: -- cgit v1.2.1