Skip to content

Properly make use of the config file argument#177

Merged
hykilpikonna merged 1 commit intohykilpikonna:masterfrom
catumin:config
Sep 7, 2023
Merged

Properly make use of the config file argument#177
hykilpikonna merged 1 commit intohykilpikonna:masterfrom
catumin:config

Conversation

@catumin
Copy link
Collaborator

@catumin catumin commented Aug 26, 2023

Description

Address the issue raised in #176, which is that -C was silently failing to load config files that were not in the default path. The problem was that check_config was checking that the path given in -C was a valid file, and then loading CONFIG_PATH instead, which was not being set to what was given in -C.

This behavior is shown in the attached screenshot.

Relevant Links

#176

Screenshots

Before
config

After
config

@hykilpikonna
Copy link
Owner

Oops, thanks for catching this!

@hykilpikonna hykilpikonna merged commit ace0245 into hykilpikonna:master Sep 7, 2023
@catumin catumin deleted the config branch September 28, 2023 20:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants