Commit fef15bec authored by leswing's avatar leswing
Browse files

yapf

parent 370ff232
Loading
Loading
Loading
Loading
+4 −3
Original line number Diff line number Diff line
@@ -19,9 +19,10 @@ def _notebook_read(path):
  """

  with tempfile.NamedTemporaryFile(suffix=".ipynb") as fout:
    args = ["jupyter-nbconvert", "--to", "notebook", "--execute",
            "--ExecutePreprocessor.timeout=60",
            "--output", fout.name, path]
    args = [
        "jupyter-nbconvert", "--to", "notebook", "--execute",
        "--ExecutePreprocessor.timeout=60", "--output", fout.name, path
    ]
    subprocess.check_call(args)

    fout.seek(0)