summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--isort/isort.py1
1 files changed, 0 insertions, 1 deletions
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: