From 0825990ebaa798f223b21d0b780dbf17190ce96f Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Mon, 8 Mar 2021 21:29:41 +0000 Subject: [PATCH] Ensure that the domain is obtained when removing an account --- epicyon.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/epicyon.py b/epicyon.py index b6ce17bd4..6f5731532 100644 --- a/epicyon.py +++ b/epicyon.py @@ -1703,6 +1703,10 @@ if args.rmaccount: if not args.domain or not getConfigParam(baseDir, 'domain'): print('Use the --domain option to set the domain name') sys.exit() + if args.domain: + domain = args.domain + else: + domain = getConfigParam(baseDir, 'domain') configuredDomain = getConfigParam(baseDir, 'domain') if configuredDomain: