diff options
| author | Takeshi KOMIYA <i.tkomiya@gmail.com> | 2021-02-16 01:30:45 +0900 |
|---|---|---|
| committer | Takeshi KOMIYA <i.tkomiya@gmail.com> | 2021-02-16 01:30:45 +0900 |
| commit | 82052838239187b0ec0e2b2b8911e5f6263491cf (patch) | |
| tree | 5d6ca5977683e3c8f248165865ce6c6edd823dd4 | |
| parent | 633c5ad9c6f4511e3016dd451f17ace1ad160fb2 (diff) | |
| download | sphinx-git-82052838239187b0ec0e2b2b8911e5f6263491cf.tar.gz | |
refactor: html: Fix typo
| -rw-r--r-- | sphinx/builders/html/__init__.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sphinx/builders/html/__init__.py b/sphinx/builders/html/__init__.py index 1dbde6e37..6a069c3ca 100644 --- a/sphinx/builders/html/__init__.py +++ b/sphinx/builders/html/__init__.py @@ -1036,7 +1036,7 @@ class StandaloneHTMLBuilder(Builder): # sort JS/CSS before rendering HTML ctx['script_files'].sort(key=lambda js: js.priority) - ctx['css_files'].sort(key=lambda js: js.priority) + ctx['css_files'].sort(key=lambda css: css.priority) try: output = self.templates.render(templatename, ctx) |
