s/node.attributes/node/ at one other location

This commit is contained in:
jfbu 2021-02-09 17:51:55 +01:00
parent a164d4c12c
commit 52fc9bdd86

View File

@ -846,7 +846,7 @@ class LaTeXTranslator(SphinxTranslator):
def visit_footnote(self, node: Element) -> None:
self.in_footnote += 1
label = cast(nodes.label, node[0])
if 'auto' not in node.attributes:
if 'auto' not in node:
self.body.append('\\sphinxstepexplicit ')
if self.in_parsed_literal:
self.body.append('\\begin{footnote}[%s]' % label.astext())