From a8de19b7f98bdfa7006eefcfb7d74a3ba8e575e0 Mon Sep 17 00:00:00 2001 From: David Lynch Date: Tue, 12 Jan 2016 15:09:20 -0600 Subject: [PATCH] Missing packages prefix --- git/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/git/__init__.py b/git/__init__.py index 5f37bfbb..84c16ad0 100644 --- a/git/__init__.py +++ b/git/__init__.py @@ -20,7 +20,7 @@ def find_plugin_directory(): # zipped package, all we care about is the bit right before .sublime-package match = re.search(r"([^\\/]+)\.sublime-package", __file__) if match: - return match.group(1) + return "Packages/" + match.group(1) if __file__.startswith('./'): # ST2, we get "./git/__init__.py" which is pretty useless since we want the part above that # However, os.getcwd() is the plugin directory!