Skip to content

Commit

Permalink
ST3 plugin directory
Browse files Browse the repository at this point in the history
  • Loading branch information
kemayo committed Jan 8, 2016
1 parent f6cde85 commit c4adee0
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 @@ -23,7 +23,7 @@ def find_plugin_directory(f):
else:
# In a complete inversion from ST2, in ST3 when a plugin is loaded we
# actually can trust __file__.
PLUGIN_DIRECTORY = find_plugin_directory(__file__)
PLUGIN_DIRECTORY = find_plugin_directory(os.path.normpath(os.path.join(os.path.dirname(__file__), '..')))


def main_thread(callback, *args, **kwargs):
Expand Down

0 comments on commit c4adee0

Please sign in to comment.