Make config file path absolute for task creation

This commit is contained in:
deajan 2024-09-01 16:45:32 +02:00
parent 4fdbe79d48
commit ac9c4b917c

View file

@ -716,7 +716,7 @@ def _main_gui(viewer_mode: bool):
logger = ofunctions.logger_utils.logger_get_logger(log_file, debug=_DEBUG)
if args.config_file:
config_file = Path(args.config_file)
config_file = Path(args.config_file).absolute()
else:
config_file = Path(f"{CURRENT_DIR}/npbackup.conf")