1
0
mirror of https://github.com/craigerl/aprsd.git synced 2024-11-17 22:01:49 -05:00

Fixed save directory default

This commit is contained in:
Hemna 2023-01-03 15:38:19 -05:00
parent 6391c7eed6
commit 233d49bb4c

View File

@ -1,6 +1,10 @@
from pathlib import Path
from oslo_config import cfg
home = str(Path.home())
DEFAULT_CONFIG_DIR = f"{home}/.config/aprsd/"
APRSD_DEFAULT_MAGIC_WORD = "CHANGEME!!!"
admin_group = cfg.OptGroup(
@ -30,7 +34,7 @@ aprsd_opts = [
),
cfg.StrOpt(
"save_location",
default="~/.config/aprsd",
default=DEFAULT_CONFIG_DIR,
help="Save location for packet tracking files.",
),
cfg.BoolOpt(