aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/bin/track_status.py
diff options
context:
space:
mode:
Diffstat (limited to 'bin/track_status.py')
-rw-r--r--bin/track_status.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/track_status.py b/bin/track_status.py
index bf70328..6f1b0b5 100644
--- a/bin/track_status.py
+++ b/bin/track_status.py
@@ -36,7 +36,7 @@ def _parse_args(args=sys.argv):
help='set log file path (standard output by default)')
parser.add_argument('--output-format', dest='fmt',
type=_parse_output_format, default=DatabaseFormat.CSV,
- choices=tuple(fmt for fmt in DatabaseFormat),
+ choices=DatabaseFormat,
help='set database format')
parser.add_argument('-o', '--output', metavar='PATH', dest='fd',
type=argparse.FileType('w', encoding='utf-8'),