diff options
Diffstat (limited to 'isort/isort.py')
-rw-r--r-- | isort/isort.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/isort/isort.py b/isort/isort.py index ff3921bf..22e5d019 100644 --- a/isort/isort.py +++ b/isort/isort.py @@ -303,7 +303,8 @@ class SortImports(object): prefix = "B" else: prefix = "C" - module_name = module_name.lower() + if not config['case_sensitive']: + module_name = module_name.lower() if section_name is None or 'length_sort_' + str(section_name).lower() not in config: length_sort = config['length_sort'] else: |