From 3be3717c7118b657dfd2ba350b08273db2476952 Mon Sep 17 00:00:00 2001 From: Philip Meier Date: Fri, 22 Dec 2023 14:27:06 +0100 Subject: [PATCH] Revert "revert unrelated" This reverts commit 3106785faf01aa79115b06437a789e261ce39446. --- src/mkdocs_gallery/gen_single.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/mkdocs_gallery/gen_single.py b/src/mkdocs_gallery/gen_single.py index 0ee2f66b..2adb1d1a 100644 --- a/src/mkdocs_gallery/gen_single.py +++ b/src/mkdocs_gallery/gen_single.py @@ -959,7 +959,7 @@ def parse_and_execute(script: GalleryScript, script_blocks): # Remember the original argv so that we can put them back after run argv_orig = sys.argv[:] - #Remember the original sys.path so that we can reset it after run + # Remember the original sys.path so that we can reset it after run sys_path_orig = deepcopy(sys.path) # Python file is the original one (not the copy for download)