diff --git a/querybook/server/app/flask_app.py b/querybook/server/app/flask_app.py index f64bdb7c8..f675a2282 100644 --- a/querybook/server/app/flask_app.py +++ b/querybook/server/app/flask_app.py @@ -42,7 +42,7 @@ def make_flask_app(): ) if QuerybookSettings.TABLE_MAX_UPLOAD_SIZE is not None: - app.config["MAX_CONTENT_LENGTH"] = QuerybookSettings.TABLE_MAX_UPLOAD_SIZE + app.config["MAX_CONTENT_LENGTH"] = int(QuerybookSettings.TABLE_MAX_UPLOAD_SIZE) return app