From 94280234877918c6e50da66d13c5fed6e995afbe Mon Sep 17 00:00:00 2001 From: Roberto Alsina Date: Sat, 4 Mar 2017 17:56:17 -0300 Subject: [PATCH] Py2 compat --- nikola/plugins/compile/ipynb.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nikola/plugins/compile/ipynb.py b/nikola/plugins/compile/ipynb.py index bcad67806c..9643f01bcf 100644 --- a/nikola/plugins/compile/ipynb.py +++ b/nikola/plugins/compile/ipynb.py @@ -213,7 +213,7 @@ def get_default_jupyter_config(): abs_path = os.path.join(parent, file) with open(abs_path) as config_file: config.update(json.load(config_file)) - except FileNotFoundError: + except OSError: # some paths jupyter uses to find configurations # may not exist pass