Baike.dev
All toolsOnline toolsAI codingTrendingOpen sourceNewsSubmit
Log in
Back to tool/Back to issues
#2959·datasette

plugin_config() bug: top-level config not returned when table=None

Author: SimonSadlerCreated Sep 25, 2026Updated Sep 25, 2026

When the plugin config is top-level and a custom query is run (so table=None), the config found by _plugin_config_top is never returned. This line needs a return:

https://github.com/simonw/datasette/blob/cec5e6b2ef5d33eda31f9be092c4ec174ff0c5e9/datasette/app.py#L1500

Source: simonw/datasette

View original on GitHubView discussion on GitHub