diff options
author | Timothy Crosley <timothy.crosley@gmail.com> | 2016-03-27 20:30:17 -0700 |
---|---|---|
committer | Timothy Crosley <timothy.crosley@gmail.com> | 2016-03-27 20:30:17 -0700 |
commit | f06f0dc5d6a0ce54b0e23284b8a8da5717a4be0f (patch) | |
tree | dbfbcd6086c13782b0d17e5ba16bf881a02353a4 | |
parent | ea21b3a5391db57f64bdac1d8435010cce9ee905 (diff) | |
download | isort-f06f0dc5d6a0ce54b0e23284b8a8da5717a4be0f.tar.gz |
Support '\n' in config item
-rw-r--r-- | isort/settings.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/isort/settings.py b/isort/settings.py index 3b2f7c7c..5aa6cb1d 100644 --- a/isort/settings.py +++ b/isort/settings.py @@ -171,7 +171,7 @@ def _update_with_config_file(file_path, sections, computed_settings): def _as_list(value): - return filter(bool, [item.strip() for item in value.split(",")]) + return filter(bool, [item.strip() for item in value.replace('\n', ',').split(",")]) @lru_cache() |