This commit is contained in:
deepend committed 2026-12-05 07:33:29 -06:00
1 parent c7ae5a2f86
commit 23a4066adb
5 files changed
+39 -14

No files matched your search

+4 -2
View File
@@ -376,8 +376,10 @@ def reload_name(name):
def change_cwd(path):
old_cwd = os.getcwd()
os.chdir(path)
yield
os.chdir(old_cwd)
try:
yield
finally:
os.chdir(old_cwd)
def autoload():