From 3cebcc4c31bc3152fc5a08a096b40a5ed04bcde0 Mon Sep 17 00:00:00 2001 From: vefimov Date: Fri, 18 Aug 2017 17:08:25 +0300 Subject: [PATCH] fix error setupbase.py on windows --- beakerx/setupbase.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/beakerx/setupbase.py b/beakerx/setupbase.py index 15ac8cac1d..10e142e4b0 100644 --- a/beakerx/setupbase.py +++ b/beakerx/setupbase.py @@ -497,7 +497,7 @@ def _access_check(fn, mode): if sys.platform == "win32": # The current directory takes precedence on Windows. if os.curdir not in path: - os.path.insert(0, os.curdir) + os.sys.path.insert(0, os.curdir) # PATHEXT is necessary to check on Windows. pathext = os.environ.get("PATHEXT", "").split(os.pathsep)