diff options
Diffstat (limited to 'pylint/config/find_default_config_files.py')
| -rw-r--r-- | pylint/config/find_default_config_files.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pylint/config/find_default_config_files.py b/pylint/config/find_default_config_files.py index d4faa259e..2a8937e52 100644 --- a/pylint/config/find_default_config_files.py +++ b/pylint/config/find_default_config_files.py @@ -9,7 +9,7 @@ from toml.decoder import TomlDecodeError def _toml_has_config(path): - with open(path) as toml_handle: + with open(path, encoding="utf-8") as toml_handle: try: content = toml.load(toml_handle) except TomlDecodeError as error: |
