##// END OF EJS Templates
Use dirname rather than split
Jessica B. Hamrick -
Show More
@@ -9,7 +9,7 b' from IPython.utils.py3compat import iteritems'
9
9
10 from .current import nbformat, nbformat_schema
10 from .current import nbformat, nbformat_schema
11 schema_path = os.path.join(
11 schema_path = os.path.join(
12 os.path.split(__file__)[0], "v%d" % nbformat, nbformat_schema)
12 os.path.dirname(__file__), "v%d" % nbformat, nbformat_schema)
13
13
14
14
15 def isvalid(nbjson, verbose=False):
15 def isvalid(nbjson, verbose=False):
General Comments 0
You need to be logged in to leave comments. Login now