diff --git a/superset/config.py b/superset/config.py index e31a87dfcb..d9ae516b87 100644 --- a/superset/config.py +++ b/superset/config.py @@ -370,7 +370,7 @@ SUPERSET_WEBSERVER_DOMAINS = None # Allowed format types for upload on Database view EXCEL_EXTENSIONS = {"xlsx", "xls"} -CSV_EXTENSIONS = {"csv", "tsv"} +CSV_EXTENSIONS = {"csv", "tsv", "txt"} ALLOWED_EXTENSIONS = {*EXCEL_EXTENSIONS, *CSV_EXTENSIONS} # CSV Options: key/value pairs that will be passed as argument to DataFrame.to_csv