mirror of
https://github.com/netinvent/npbackup.git
synced 2025-11-09 21:51:41 +08:00
Make config file path absolute for task creation
This commit is contained in:
parent
4fdbe79d48
commit
ac9c4b917c
1 changed files with 1 additions and 1 deletions
|
|
@ -716,7 +716,7 @@ def _main_gui(viewer_mode: bool):
|
||||||
logger = ofunctions.logger_utils.logger_get_logger(log_file, debug=_DEBUG)
|
logger = ofunctions.logger_utils.logger_get_logger(log_file, debug=_DEBUG)
|
||||||
|
|
||||||
if args.config_file:
|
if args.config_file:
|
||||||
config_file = Path(args.config_file)
|
config_file = Path(args.config_file).absolute()
|
||||||
else:
|
else:
|
||||||
config_file = Path(f"{CURRENT_DIR}/npbackup.conf")
|
config_file = Path(f"{CURRENT_DIR}/npbackup.conf")
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue