There was an error while loading. Please reload this page.
2 parents 6d5d608 + 596967e commit 2a4fb11Copy full SHA for 2a4fb11
1 file changed
autohands/build_util.py
@@ -201,8 +201,8 @@ def uncomment_jupyter_magic(f):
201
with open(f, "w") as sources:
202
for line in lines:
203
line = re.sub(
204
- r"# from autonerves import setup_notebook; setup_notebook\(\)",
205
- "from autonerves import setup_notebook; setup_notebook()",
+ r"# from (auto\w+) import setup_notebook; setup_notebook\(\)",
+ r"from \1 import setup_notebook; setup_notebook()",
206
line,
207
)
208
sources.write(line)
0 commit comments