Argparse choices wants a list, not a tuple.
[python_utils.git] / site_config.py
index 492623f4b855fc990883a706db93dfd5615921d0..1281661abb6ac52d9fd6384916ce617731ad34b3 100644 (file)
@@ -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.',
 )