Skip to content

Commit

Permalink
Missing packages prefix
Browse files Browse the repository at this point in the history
  • Loading branch information
kemayo committed Jan 12, 2016
1 parent 90dedd2 commit a8de19b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion git/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -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!
Expand Down

0 comments on commit a8de19b

Please sign in to comment.