Skip to content

Commit

Permalink
Update repo.py
Browse files Browse the repository at this point in the history
  • Loading branch information
DonnieBLT authored Jun 14, 2024
1 parent 3c39065 commit a041431
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/lettuce/plugins/repo.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@ class RepoPlugin(MachineBasePlugin):
def __init__(self, client: SlackClient, settings: CaseInsensitiveDict, storage: PluginStorage):
super().__init__(client, settings, storage)

# Construct the absolute path to repos.json
data_path = os.path.join(os.path.dirname(__file__), '..', '..', 'data', 'repos.json')
project_home = '/home/DonnieBLT/BLT-Lettuce'
data_path = os.path.join(project_home, 'data', 'repos.json')
with open(data_path) as f:
self.repo_data = json.load(f)

Expand Down

0 comments on commit a041431

Please sign in to comment.