aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/bin/track_status.py
diff options
context:
space:
mode:
authorEgor Tensin <Egor.Tensin@gmail.com>2016-06-24 14:42:17 +0300
committerEgor Tensin <Egor.Tensin@gmail.com>2016-06-24 14:42:17 +0300
commite78225930f541e94cd050afe6895ccec0703316d (patch)
tree15c08fca072e079974bebb78304703297355742d /bin/track_status.py
parentREADME update (diff)
downloadvk-scripts-e78225930f541e94cd050afe6895ccec0703316d.tar.gz
vk-scripts-e78225930f541e94cd050afe6895ccec0703316d.zip
code style
Diffstat (limited to '')
-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'),