diff --git a/CHANGELOG.md b/CHANGELOG.md index 56134c50..68a77a5b 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,13 +5,6 @@ All notable changes to Tailbone will be documented in this file. The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/) and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html). -## v0.22.10 (2025-09-20) - -### Fix - -- avoid error if 'default' theme not included -- fix config extension entry point - ## v0.22.9 (2025-09-20) ### Fix diff --git a/pyproject.toml b/pyproject.toml index d6e8ec92..044aa63b 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -6,7 +6,7 @@ build-backend = "hatchling.build" [project] name = "Tailbone" -version = "0.22.10" +version = "0.22.9" description = "Backoffice Web Application for Rattail" readme = "README.md" authors = [{name = "Lance Edgar", email = "lance@edbob.org"}] @@ -78,7 +78,7 @@ webapi = "tailbone.webapi:main" beaker = "tailbone.cleanup:BeakerCleaner" -[project.entry-points."wutta.config.extensions"] +[project.entry-points."rattail.config.extensions"] tailbone = "tailbone.config:ConfigExtension" diff --git a/tailbone/util.py b/tailbone/util.py index 78ab07f0..71aa35e3 100644 --- a/tailbone/util.py +++ b/tailbone/util.py @@ -300,8 +300,8 @@ def get_available_themes(rattail_config, include=None): available.sort() # make default theme the first option - if 'default' in available: - i = available.index('default') + i = available.index('default') + if i >= 0: available.pop(i) available.insert(0, 'default')