From ab82274a33e791229034eb07a900b0987aa5b00d Mon Sep 17 00:00:00 2001 From: chaol Date: Mon, 21 Aug 2023 14:20:40 +0800 Subject: [PATCH] Fix wrong config path --- howdy/src/cli/disable.py | 2 +- howdy/src/cli/set.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/howdy/src/cli/disable.py b/howdy/src/cli/disable.py index be78c97..e6b635d 100644 --- a/howdy/src/cli/disable.py +++ b/howdy/src/cli/disable.py @@ -10,7 +10,7 @@ import configparser from i18n import _ # Get the absolute filepath -config_path = os.path.dirname("/etc/howdy") + "/config.ini" +config_path = os.path.dirname("/etc/howdy/") + "/config.ini" # Read config from disk config = configparser.ConfigParser() diff --git a/howdy/src/cli/set.py b/howdy/src/cli/set.py index 14d15c2..0f36817 100644 --- a/howdy/src/cli/set.py +++ b/howdy/src/cli/set.py @@ -9,7 +9,7 @@ import fileinput from i18n import _ # Get the absolute filepath -config_path = os.path.dirname("/etc/howdy") + "/config.ini" +config_path = os.path.dirname("/etc/howdy/") + "/config.ini" # Check if enough arguments have been passed if len(builtins.howdy_args.arguments) < 2: