From 6fd6229a9ec63d1f14b7842de099ec370dcf585d Mon Sep 17 00:00:00 2001 From: Lance Edgar Date: Sun, 24 Nov 2024 13:56:02 -0600 Subject: [PATCH] fix: always use configured app dist for appinfo/index page i.e. stop trying to be smart by using the app web handler as basis for distribution auto-lookup, since that will normally yield WuttaWeb whereas the config should usually specify the real one --- src/wuttaweb/templates/appinfo/index.mako | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/wuttaweb/templates/appinfo/index.mako b/src/wuttaweb/templates/appinfo/index.mako index 383157f..ab49018 100644 --- a/src/wuttaweb/templates/appinfo/index.mako +++ b/src/wuttaweb/templates/appinfo/index.mako @@ -8,10 +8,10 @@
- ${app.get_distribution(obj=app.get_web_handler()) or f'?? - set config for `{app.appname}.app_dist`'} + ${app.get_distribution() or f'?? - set config for `{app.appname}.app_dist`'} - ${app.get_version(obj=app.get_web_handler()) or f'?? - set config for `{app.appname}.app_dist`'} + ${app.get_version() or f'?? - set config for `{app.appname}.app_dist`'} ${app.get_title()}