Skip to content

Commit 0c642fb

Browse files
committed
Fix for python path (was calling ruby)
1 parent 0e183f5 commit 0c642fb

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Commands/Validate Syntax Quick.tmCommand

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
<string>saveActiveFile</string>
77
<key>command</key>
88
<string># runs on save; only notifies you if it raises a warning or error
9-
PYTHONPATH="$TM_BUNDLE_SUPPORT/bin/":$PYTHONPATH "${TM_RUBY:-python}" "$TM_BUNDLE_SUPPORT/bin/pyflakes_quick.py"</string>
9+
PYTHONPATH="$TM_BUNDLE_SUPPORT/bin/":$PYTHONPATH "${TM_PYTHON:-python}" "$TM_BUNDLE_SUPPORT/bin/pyflakes_quick.py"</string>
1010
<key>input</key>
1111
<string>none</string>
1212
<key>keyEquivalent</key>

Commands/Validate Syntax.tmCommand

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
<key>command</key>
1414
<string>. "$TM_SUPPORT_PATH/lib/webpreview.sh"
1515
html_header "Validate Python"
16-
PYTHONPATH="$TM_BUNDLE_SUPPORT/bin/":$PYTHONPATH "${TM_RUBY:-python}" "$TM_BUNDLE_SUPPORT/bin/pyflakes_html.py"
16+
PYTHONPATH="$TM_BUNDLE_SUPPORT/bin/":$PYTHONPATH "${TM_PYTHON:-python}" "$TM_BUNDLE_SUPPORT/bin/pyflakes_html.py"
1717
html_footer
1818
</string>
1919
<key>fallbackInput</key>

0 commit comments

Comments
 (0)