diff --git a/colab/utils/conf.py b/colab/utils/conf.py index ad2d068..5b4c80b 100644 --- a/colab/utils/conf.py +++ b/colab/utils/conf.py @@ -32,7 +32,7 @@ def _load_py_file(py_path, path): try: py_settings = importlib.import_module(py_path) - except IOError: + except ImportError: msg = ('Could not open settings file {}. Please ' 'check if the file exists and if user ' 'has read rights.').format(py_path) -- libgit2 0.21.2