Skip to content

Commit 5308d0c

Browse files
authored
Merge pull request python-mode#873 from zcodes/develop
Add submodules's path to sys.path for msys2 platform python-mode#852 with correc…
2 parents 339945d + 630a948 commit 5308d0c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pymode/utils.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ def patch_paths():
3838
"""
3939
dir_script = os.path.dirname(os.path.abspath(__file__))
4040
sys.path.insert(0, os.path.join(dir_script, 'libs'))
41-
if sys.platform == 'win32':
41+
if sys.platform == 'win32' or sys.platform == 'msys':
4242
dir_submodule = os.path.abspath(os.path.join(dir_script,
4343
'..', 'submodules'))
4444
sub_modules = os.listdir(dir_submodule)

0 commit comments

Comments
 (0)