From 39095e2249d80ef7c9247369a2e9bf179c914130 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Melissa=20Weber=20Mendon=C3=A7a?= Date: Thu, 16 Nov 2023 17:29:18 -0300 Subject: [PATCH] Fix basic ascii rendering This fixes `papyri ascii `. --- papyri/render.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/papyri/render.py b/papyri/render.py index 8c09723e..e57f6f50 100644 --- a/papyri/render.py +++ b/papyri/render.py @@ -1242,7 +1242,7 @@ async def _ascii_render(key: Key, store: GraphStore, *, env, template): async def ascii_render(name, store=None): gstore = GraphStore(ingest_dir, {}) - key = next(iter(gstore.glob((None, None, "module", "papyri.examples")))) + key = next(iter(gstore.glob((None, None, "module", name)))) env, template = _ascii_env() builtins.print(await _ascii_render(key, gstore, env=env, template=template))