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

Merge pull request #828 from ciaoly/beta

Fix some bugs
This commit is contained in:
boltgolt 2023-08-21 10:46:14 +02:00 committed by GitHub
commit 538569921e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 3 additions and 2 deletions

View file

@ -4,6 +4,7 @@
import subprocess
import sys
import os
# Backup the config file if we're upgrading
if "upgrade" in sys.argv:

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: