pylint fix
This commit is contained in:
parent
c42619efeb
commit
ed4731127d
@ -122,7 +122,7 @@ def render_card(
|
|||||||
output = render_card_from_context(ctx)
|
output = render_card_from_context(ctx)
|
||||||
except anki.rsbackend.BackendException as e:
|
except anki.rsbackend.BackendException as e:
|
||||||
# fixme: specific exception in 2.1.21
|
# fixme: specific exception in 2.1.21
|
||||||
err = e.args[0].template_parse
|
err = e.args[0].template_parse # pylint: disable=no-member
|
||||||
if err.q_side:
|
if err.q_side:
|
||||||
side = _("Front")
|
side = _("Front")
|
||||||
else:
|
else:
|
||||||
|
Loading…
Reference in New Issue
Block a user