From d97b458fb87f0a38b5e5b32c219c57fc5076e811 Mon Sep 17 00:00:00 2001 From: Martin Mares Date: Mon, 22 Apr 2024 13:37:27 +0200 Subject: [PATCH] Generic daemon module does not have a config path --- nsconfig/cli.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nsconfig/cli.py b/nsconfig/cli.py index bf502a2..6e9fcdc 100644 --- a/nsconfig/cli.py +++ b/nsconfig/cli.py @@ -30,7 +30,7 @@ def do_test(nsc: Nsc) -> None: print() if nsc.daemon: - conf_file = test_dir / nsc.daemon.config_path.name + conf_file = test_dir / 'daemon.conf' print(f'Dumping daemon config to {conf_file}') with open(conf_file, 'w') as f: nsc.daemon.dump_config(file=f) -- 2.39.5