Skip to content

Commit 630a948

Browse files
author
zcodes
committed
Add submodules's path to sys.path for msys2 platform python-mode#852 with corrections
1 parent 339945d commit 630a948

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)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy