From: Martin Mares Date: Mon, 22 Apr 2024 11:37:27 +0000 (+0200) Subject: Generic daemon module does not have a config path X-Git-Url: http://mj.ucw.cz/gitweb/?a=commitdiff_plain;h=d97b458fb87f0a38b5e5b32c219c57fc5076e811;p=pynsc.git Generic daemon module does not have a config path --- 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)