Skip to content

Commit

Permalink
Fix settings.json reference in settings.py
Browse files Browse the repository at this point in the history
  • Loading branch information
codylieu committed May 27, 2021
1 parent 2121c95 commit 14b60ab
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion githistorydata/settings.py
Original file line number Diff line number Diff line change
@@ -1,10 +1,12 @@
import json
import os

WORKSPACE_DIR = os.environ.get('WORKSPACE')

class Settings:
""" Asettings object that is responsible of managing a single settings file """

def __init__(self, settings_file_path="settings.json"):
def __init__(self, settings_file_path=f"{WORKSPACE_DIR}/sync-github-raw-data/git-history-data/settings.json"):
""" Initialize a Settings object """
self._settings_file_path = settings_file_path
self._settings_dict = {}
Expand Down

0 comments on commit 14b60ab

Please sign in to comment.