From 9aef0ebd96418a9677ed3f0bbb77acdaa33a884c Mon Sep 17 00:00:00 2001 From: Daylin Morgan Date: Mon, 11 Mar 2024 14:37:09 -0500 Subject: [PATCH] docs: fix api --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index fb4d537..4b4c9a4 100644 --- a/README.md +++ b/README.md @@ -23,7 +23,7 @@ if not (src := __import__("pathlib").Path(__file__).parent / "swydd/__init__.py" import sys; from urllib.request import urlopen; from urllib.error import URLError # noqa try: r = urlopen("https://raw.githubusercontent.com/daylinmorgan/swydd/main/src/swydd/__init__.py") # noqa except URLError as e: sys.exit(f"{e}\n") # noqa - src.parent.mkdir(exists_ok=True); src.write_text(r.read().decode("utf-8")); # noqa + src.parent.mkdir(exist_ok=True); src.write_text(r.read().decode("utf-8")); # noqa # fmt: on ```