diff --git a/source/logic/main.py b/source/logic/main.py index 705447f..864c1bb 100644 --- a/source/logic/main.py +++ b/source/logic/main.py @@ -130,26 +130,27 @@ def main(): "\n" ) else: - _sys.stderr.write( - string_coin( - "[info] {{label}}: {{path}}\n", - { - "label": translation_get("misc.state_file_path"), - "path": state_path, - } - ) - ) - ### get configuration data conf = conf_load( check_kind_implementations, notification_channel_implementations, _os.path.abspath(args.conf_path) ) + if (args.expose_full_conf): _sys.stdout.write(_json.dumps(conf, indent = "\t") + "\n") _sys.exit(1) else: + _sys.stderr.write( + string_coin( + "[info] {{label}}: {{path}}\n", + { + "label": translation_get("misc.state_file_path"), + "path": state_path, + } + ) + ) + ### get state data if ( (not _os.path.exists(state_path))