From e8dd2358f5e0fe9f31dff2db7430f4dc04381407 Mon Sep 17 00:00:00 2001 From: "Mr. Outis" Date: Fri, 27 Dec 2019 10:05:41 -0600 Subject: [PATCH] summon: fix path popping operation --- dvc/api.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dvc/api.py b/dvc/api.py index 013eb0a51..dd2f9f444 100644 --- a/dvc/api.py +++ b/dvc/api.py @@ -178,7 +178,7 @@ def _invoke_method(call, args, path): return method(**args) finally: os.chdir(cwd) - sys.path.pop() + sys.path.pop(0) def _import_string(import_name):