Skip to content

Commit

Permalink
githubplugin: use get_basedir
Browse files Browse the repository at this point in the history
  • Loading branch information
Morg42 committed Nov 16, 2024
1 parent 43bb4c1 commit e8bda9d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion githubplugin/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -311,7 +311,7 @@ def __init__(self, sh):

# to make sure we really hit the right path, don't use relative paths
# but use shngs BASE path attribute
self.plg_path = os.path.join(self._sh.BASE, 'plugins')
self.plg_path = os.path.join(self._sh.get_basedir(), 'plugins')
self.repo_path = os.path.join(self.plg_path, self.REPO_DIR)

# make plugins/priv_repos if not present
Expand Down

0 comments on commit e8bda9d

Please sign in to comment.