From 74b2b2394ce0656e2d1426c7f336cb88620abd9d Mon Sep 17 00:00:00 2001 From: Hamel Husain Date: Tue, 17 Sep 2024 16:33:47 -0700 Subject: [PATCH] add more useful msg to nbdev_export --- nbs/api/05_doclinks.ipynb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/nbs/api/05_doclinks.ipynb b/nbs/api/05_doclinks.ipynb index 24482c592..f075c2327 100644 --- a/nbs/api/05_doclinks.ipynb +++ b/nbs/api/05_doclinks.ipynb @@ -364,8 +364,8 @@ " if os.environ.get('IN_TEST',0): return\n", " if not is_nbdev(): raise Exception('`nbdev_export` must be called from a directory within a nbdev project.')\n", " if procs:\n", - " import nbdev.export\n", - " procs = [getattr(nbdev.export, p) for p in L(procs)]\n", + " import nbdev.export\n", + " procs = [getattr(nbdev.export, p) for p in L(procs)]\n", " files = nbglob(path=path, as_path=True, **kwargs).sorted('name')\n", " for f in files: nb_export(f, procs=procs)\n", " add_init(get_config().lib_path)\n",