diff options
author | Egor Tensin <Egor.Tensin@gmail.com> | 2016-06-24 14:42:17 +0300 |
---|---|---|
committer | Egor Tensin <Egor.Tensin@gmail.com> | 2016-06-24 14:42:17 +0300 |
commit | e78225930f541e94cd050afe6895ccec0703316d (patch) | |
tree | 15c08fca072e079974bebb78304703297355742d /bin/track_status.py | |
parent | README update (diff) | |
download | vk-scripts-e78225930f541e94cd050afe6895ccec0703316d.tar.gz vk-scripts-e78225930f541e94cd050afe6895ccec0703316d.zip |
code style
Diffstat (limited to 'bin/track_status.py')
-rw-r--r-- | bin/track_status.py | 2 |
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'), |