##// END OF EJS Templates
add missing NBFormatError import in nbformat.reader.reads...
MinRK -
Show More
@@ -80,6 +80,8 b' def reads(s, **kwargs):'
80 nb : NotebookNode
80 nb : NotebookNode
81 The notebook that was read.
81 The notebook that was read.
82 """
82 """
83 from .current import NBFormatError
84
83 nb_dict = parse_json(s, **kwargs)
85 nb_dict = parse_json(s, **kwargs)
84 (major, minor) = get_version(nb_dict)
86 (major, minor) = get_version(nb_dict)
85 if major in versions:
87 if major in versions:
General Comments 0
You need to be logged in to leave comments. Login now