0
0
Fork 0
mirror of https://github.com/boltgolt/howdy.git synced 2024-09-12 09:41:18 +02:00

Fix wrong config path

This commit is contained in:
chaol 2023-08-21 14:20:40 +08:00 committed by GitHub
parent 7b835b26b4
commit ab82274a33
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View file

@ -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()

View file

@ -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: