Skip to content

Commit

Permalink
fix: update metadata directory path to be relative
Browse files Browse the repository at this point in the history
Updated the path for the metadata directory from
an absolute path to a relative path (metadata/).
  • Loading branch information
kouloumos committed Aug 13, 2024
1 parent 61b3dfa commit 1845a6e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/transcription.py
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ def __configure_tstbtc_metadata_dir(self):
config = dotenv_values(".env")
metadata_dir = config.get("TSTBTC_METADATA_DIR")
if not metadata_dir:
alternative_metadata_dir = "/metadata"
alternative_metadata_dir = "metadata/"
self.logger.warning(
f"'TSTBTC_METADATA_DIR' environment variable is not defined. Metadata will be stored at '{alternative_metadata_dir}'.")
return alternative_metadata_dir
Expand Down

0 comments on commit 1845a6e

Please sign in to comment.