Skip to content

Commit

Permalink
code: Update config
Browse files Browse the repository at this point in the history
  • Loading branch information
matiusz committed Feb 2, 2024
1 parent b3e6de2 commit 7499bff
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/obj/Config.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,9 +32,9 @@ def loadFromDict(self, config):
filePathConfig = config['filePaths']

try:
self.dataFolder = os.environ['SONGBOOK_DATA_DIR']
self.dataFolder = "data/" + os.environ['SONGBOOK_DATA_DIR']
except KeyError:
self.dataFolder = 'data/hk-songbook'
self.dataFolder = 'hk-songbook'
self.categoriesFile = filePathConfig['categoriesFile']
self.imageFolder = filePathConfig['imageFolder']
self.outputFile = filePathConfig['outputFile']
Expand Down

0 comments on commit 7499bff

Please sign in to comment.