From 35adcd7f9e0048f8fa867c19cadabab3f92325e7 Mon Sep 17 00:00:00 2001 From: mhucka Date: Fri, 8 Oct 2021 18:23:19 -0700 Subject: [PATCH] Fix bug: default format was still not json --- admin/export-data | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/admin/export-data b/admin/export-data index 12d1282..0066a9a 100755 --- a/admin/export-data +++ b/admin/export-data @@ -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)