diff options
| author | Scott <[email protected]> | 2022-01-17 15:52:24 -0800 |
|---|---|---|
| committer | Scott <[email protected]> | 2022-01-17 15:52:24 -0800 |
| commit | 3ff520c22a4fcba0590400a20f822ad096927f6b (patch) | |
| tree | dadd2b5e3c378dbc7db0497742d9791a1a82efa4 /site_config.py | |
| parent | 2c43e31aae1138f79c30619cde25746e41390152 (diff) | |
Argparse choices wants a list, not a tuple.
Diffstat (limited to 'site_config.py')
| -rw-r--r-- | site_config.py | 4 |
1 files 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.', ) |
