Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Fun discovery: Sublime on windows still requires posix path separators

  • Loading branch information...
commit 83c70dfaa4367841c10de847ec611b91b9708dc3 1 parent 6d6348c
@kemayo kemayo authored
Showing with 2 additions and 1 deletion.
  1. +2 −1  git.py
View
3  git.py
@@ -9,7 +9,8 @@
# when sublime loads a plugin it's cd'd into the plugin directory. Thus
# __file__ is useless for my purposes. What I want is "Packages/Git", but
# allowing for the possibility that someone has renamed the file.
-PLUGIN_DIRECTORY = os.getcwd().replace(os.path.normpath(os.path.join(os.getcwd(), '..', '..')) + os.path.sep, '')
+# Fun discovery: Sublime on windows still requires posix path separators.
+PLUGIN_DIRECTORY = os.getcwd().replace(os.path.normpath(os.path.join(os.getcwd(), '..', '..')) + os.path.sep, '').replace(os.path.sep, '/')
def main_thread(callback, *args, **kwargs):
Please sign in to comment.
Something went wrong with that request. Please try again.