summaryrefslogtreecommitdiff
path: root/site_config.py
diff options
context:
space:
mode:
authorScott <[email protected]>2022-01-17 15:52:24 -0800
committerScott <[email protected]>2022-01-17 15:52:24 -0800
commit3ff520c22a4fcba0590400a20f822ad096927f6b (patch)
treedadd2b5e3c378dbc7db0497742d9791a1a82efa4 /site_config.py
parent2c43e31aae1138f79c30619cde25746e41390152 (diff)
Argparse choices wants a list, not a tuple.
Diffstat (limited to 'site_config.py')
-rw-r--r--site_config.py4
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.',
)