diff --git a/awpy/cli.py b/awpy/cli.py index 84138caa0..c4f69ad77 100644 --- a/awpy/cli.py +++ b/awpy/cli.py @@ -27,7 +27,8 @@ def get(resource_type: Literal["usd"], resource_name: str) -> None: if resource_name == "all": logger.info("Getting all USDs...") else: - logger.info(f"Getting USD for {resource_name}...") + getting_specific_usd_msg = f"Getting USD for {resource_name}..." + logger.info(getting_specific_usd_msg) @awpy.command(help="Parse a Counter-Strike 2 demo file.") diff --git a/awpy/vis/plot.py b/awpy/vis/plot.py index 5c7cd84de..81b4d3227 100644 --- a/awpy/vis/plot.py +++ b/awpy/vis/plot.py @@ -60,7 +60,7 @@ def plot_upper_and_lower(map_name: str) -> tuple[Figure, list[Axes]]: map_names = [map_name, f"{map_name}_lower"] figure, axes = plt.subplots(1, 2) # , figsize=(2 * 5, 5) - for ax, map_layer_name in zip(axes, map_names): + for ax, map_layer_name in zip(axes, map_names, strict=True): with importlib.resources.path( "awpy.data.maps", f"{map_layer_name}.png" ) as map_img_path: