Skip to content

Commit

Permalink
refactor: Use a constants instead of a hard-coded string in main.py.
Browse files Browse the repository at this point in the history
  • Loading branch information
gkapfham committed Jul 18, 2023
1 parent 9ab2620 commit 6942e6f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion chasten/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ def configure(
# display the configuration directory
output.console.print(rich_path_tree)
output.console.print()
configuration_file_str = f"{chasten_user_config_dir_str}/config.yml"
configuration_file_str = f"{chasten_user_config_dir_str}/{constants.filesystem.Main_Configuration_File}"
configuration_file_path = Path(configuration_file_str)
configuration_file_yml = configuration_file_path.read_text()
data = None
Expand Down

0 comments on commit 6942e6f

Please sign in to comment.