We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent dfbadf5 commit 6e28d09Copy full SHA for 6e28d09
aicodebot/config.py
@@ -4,11 +4,7 @@
4
5
6
def get_config_file():
7
- if "AICODEBOT_CONFIG_FILE" in os.environ:
8
- config_file = Path(os.getenv("AICODEBOT_CONFIG_FILE"))
9
- else:
10
- config_file = Path(Path.home() / ".aicodebot.yaml")
11
- return config_file
+ return Path(os.getenv("AICODEBOT_CONFIG_FILE", str(Path.home() / ".aicodebot.yaml")))
12
13
14
def read_config():
0 commit comments