diff options
Diffstat (limited to 'scripts/generate_boss_html.py')
| -rwxr-xr-x | scripts/generate_boss_html.py | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/scripts/generate_boss_html.py b/scripts/generate_boss_html.py index 12eadea3..f21c10e4 100755 --- a/scripts/generate_boss_html.py +++ b/scripts/generate_boss_html.py @@ -264,7 +264,8 @@ def gen_startdeck_ul(map_def: dict, lang: str) -> str: hlink = generate_card_hover_links.gen_hoverable_link( c, - lambda _: c, + # The closed-over c is immediately used in each loop iteration. + lambda _: c, # pylint: disable=W0640 gen_link_target, '../latex-build/', lang, @@ -284,8 +285,8 @@ def main(): help='the name of the boss', choices=['kraken', 'tyrant']) parser.add_argument('data', help='directory containing the card data') - parser.add_argument('maps', help='directoey containing the map data') - parser.add_argument('rules', help='directoey containing the rules') + parser.add_argument('maps', help='directory containing the map data') + parser.add_argument('rules', help='directory containing the rules') args = parser.parse_args() |
