Skip to content

Commit 0199e38

Browse files
committed
Fix the order of text stripping the path
1 parent cc09402 commit 0199e38

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pxr/base/tf/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ def WindowsImportWrapper():
7575
dll_dir.close()
7676

7777
if _WINDOWS_IMPORT_WRAPPER_DEPTH == 0 and path_updated:
78-
os.environ['PATH'] = os.environ['PATH'][:len(import_paths) + 1]
78+
os.environ['PATH'] = os.environ['PATH'][len(import_paths) + 1:]
7979

8080
del os, sys
8181
del contextlib

0 commit comments

Comments
 (0)