From 81f3814be1e4d26c53baa38359608517b5ace0ec Mon Sep 17 00:00:00 2001 From: John Burwell Date: Mon, 24 Apr 2023 19:48:02 -0500 Subject: [PATCH] only print config path if debug --- rsbbs/bbs.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/rsbbs/bbs.py b/rsbbs/bbs.py index 6a93a1a..bcf1af8 100644 --- a/rsbbs/bbs.py +++ b/rsbbs/bbs.py @@ -72,7 +72,8 @@ class BBS(): platformdirs.user_config_dir(appname='rsbbs', ensure_exists=True), 'config.yaml' ) - print(config_path) + if self._sysv_args.debug: + print(config_path) # If the file doesn't exist there, create it if not os.path.exists(config_path): config_template_path = pkg_resources.resource_filename(