From 3ff520c22a4fcba0590400a20f822ad096927f6b Mon Sep 17 00:00:00 2001 From: Scott Date: Mon, 17 Jan 2022 15:52:24 -0800 Subject: [PATCH] Argparse choices wants a list, not a tuple. --- site_config.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/site_config.py b/site_config.py index 492623f..1281661 100644 --- a/site_config.py +++ b/site_config.py @@ -13,14 +13,14 @@ logger = logging.getLogger(__name__) args = config.add_commandline_args( f'Global Site Config ({__file__})', - f'Args related to global site-specific configuration' + 'Args related to global site-specific configuration' ) args.add_argument( '--site_config_override_location', default='NONE', const='NONE', nargs='?', - choices=('HOUSE', 'CABIN', 'NONE'), + choices=['HOUSE', 'CABIN', 'NONE'], help='Where are we, HOUSE, CABIN? Overrides standard detection code.', ) -- 2.45.2