Skip to content

Commit ca90cbf

Browse files
committed
fix load config values
1 parent 8c14ce3 commit ca90cbf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

superset/views/base.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -489,7 +489,7 @@ def cached_common_bootstrap_data( # pylint: disable=unused-argument
489489
"EXTRA_CATEGORICAL_COLOR_SCHEMES"
490490
],
491491
"menu_data": menu_data(g.user),
492-
"pdf_compression_level": conf["PDF_COMPRESSION_LEVEL"],
492+
"pdf_compression_level": app.config["PDF_COMPRESSION_LEVEL"],
493493
}
494494

495495
bootstrap_data.update(app.config["COMMON_BOOTSTRAP_OVERRIDES_FUNC"](bootstrap_data))

0 commit comments

Comments
 (0)