Skip to content

Commit

Permalink
Fix bug: default format was still not json
Browse files Browse the repository at this point in the history
  • Loading branch information
mhucka committed Oct 9, 2021
1 parent 2aeb588 commit 35adcd7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion admin/export-data
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@ Command-line options summary
inform(f' {table}')
exit(0)

format = 'csv' if format == 'F' else format.lower()
format = 'json' if format == 'F' else format.lower()
if format not in ['json', 'csv']:
print(f'‼️ Unsupported output format {format}. {hint}')
exit(1)
Expand Down

0 comments on commit 35adcd7

Please sign in to comment.