Skip to content

Commit

Permalink
fix: Error with sphinx-notfound-page 1.0.3 - 'tuple' object has no at… (
Browse files Browse the repository at this point in the history
#241)

fix: Error with sphinx-notfound-page 1.0.3 - 'tuple' object has no attribute 'default'
  • Loading branch information
dgarcia360 authored Jul 31, 2024
1 parent fe10592 commit 4a7a4db
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion notfound/extension.py
Original file line number Diff line number Diff line change
Expand Up @@ -272,7 +272,7 @@ def validate_configs(app, *args, **kwargs):
notfound_urls_prefix = app.config.notfound_urls_prefix
default = (
app.config.values.get("notfound_urls_prefix").default
if sphinx.version_info >= (7, 2)
if sphinx.version_info >= (7, 3)
else app.config.values.get("notfound_urls_prefix")[0]
)

Expand Down

0 comments on commit 4a7a4db

Please sign in to comment.