diff --git a/githubplugin/__init__.py b/githubplugin/__init__.py index a7b81ad10..a09349ae4 100644 --- a/githubplugin/__init__.py +++ b/githubplugin/__init__.py @@ -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